test_geometry

./lib/python/pygrass/vector – test_geometry

Test failed

Testtest_geometry
Testsuite./lib/python/pygrass/vector
Test file./lib/python/pygrass/vector/testsuite/test_geometry.py
StatusFAILED
Return code1
Number of tests15
Successful tests13
Failed tests2
Percent successful87%
Test duration0:00:01.082448

Supplementary files

Standard error output (stderr)

/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
etc/python/grass/lib/gis.py:797: DeprecationWarning: classic int division
  ('__val', c_ulong * (1024 / (8 * sizeof(c_ulong)))),
....E.Es........
======================================================================
ERROR: test_nodes (__main__.LineTestCase)
Test inodes method
----------------------------------------------------------------------
Traceback (most recent call last):
  File "lib/python/pygrass/vector/testsuite/test_geometry.py", line 142, in test_nodes
    with VectorTopo("roadsmajor", 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 <roadsmajor> not found.

======================================================================
ERROR: setUpClass (__main__.NodeTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "lib/python/pygrass/vector/testsuite/test_geometry.py", line 155, in setUpClass
    cls.vect.open('r')
  File "etc/python/grass/pygrass/vector/abstract.py", line 338, in open
    raise OpenError("Map <%s> not found." % self._name)
OpenError: Map <roadsmajor> not found.

----------------------------------------------------------------------
Ran 15 tests in 0.002s
FAILED (errors=2, skipped=1)