test_vector

./lib/python/pygrass/vector – test_vector

Test failed

Test filetest_vector
Testsuite./lib/python/pygrass/vector
StatusFAILED
Return code1
Number of tests2
Successful tests0
Failed tests2
Percent successful0%
Test duration0:00:01.062720

Supplementary files

Standard error output (stderr)

etc/python/grass/lib/gis.py:803: 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 29, 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 20, 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)