❌ Test failed
Test | test_vector |
Testsuite | ./lib/python/pygrass/vector |
Test file | ./lib/python/pygrass/vector/testsuite/test_vector.py |
Status | FAILED |
Return code | 1 |
Number of tests | 2 |
Successful tests | 0 |
Failed tests | 2 |
Percent successful | 0% |
Test duration | 0:00:01.077424 |
etc/python/grass/lib/gis.py:801: DeprecationWarning: classic int division ('__val', c_ulong * (1024 / (8 * sizeof(c_ulong)))), /usr/lib/python2.7/dist-packages/numpy/core/__init__.py:6: DeprecationWarning: CObject type is not supported in 3.x. Please use capsule objects instead. from . import multiarray /usr/lib/python2.7/dist-packages/numpy/core/__init__.py:7: DeprecationWarning: CObject type is not supported in 3.x. Please use capsule objects instead. from . import umath EE ====================================================================== ERROR: test_getitem_raise (__main__.VectorTopoTestCase) Test that getitem raise a value error if the key is not ---------------------------------------------------------------------- Traceback (most recent call last): File "lib/python/pygrass/vector/testsuite/test_vector.py", line 30, in test_getitem_raise with VectorTopo(self.vname, mode="r") as vect: File "etc/python/grass/pygrass/vector/abstract.py", line 95, in __enter__ self.open(*self._aopen, **self._kwopen) File "etc/python/grass/pygrass/vector/abstract.py", line 338, in open raise OpenError("Map <%s> not found." % self._name) OpenError: Map <points_of_interest> not found. ====================================================================== ERROR: test_getitem_slice (__main__.VectorTopoTestCase) Test that getitem handle correctly the slice starting from 1 ---------------------------------------------------------------------- Traceback (most recent call last): File "lib/python/pygrass/vector/testsuite/test_vector.py", line 21, in test_getitem_slice with VectorTopo(self.vname, mode="r") as vect: File "etc/python/grass/pygrass/vector/abstract.py", line 95, in __enter__ self.open(*self._aopen, **self._kwopen) File "etc/python/grass/pygrass/vector/abstract.py", line 338, in open raise OpenError("Map <%s> not found." % self._name) OpenError: Map <points_of_interest> not found. ---------------------------------------------------------------------- Ran 2 tests in 0.001s FAILED (errors=2)