test_doctests

./lib/python/pygrass/raster – test_doctests

Test failed

Testtest_doctests
Testsuite./lib/python/pygrass/raster
Test file./lib/python/pygrass/raster/testsuite/test_doctests.py
StatusFAILED
Return code1
Number of testsunknown
Successful testsunknown
Failed tests0
Percent successfulunknown
Test duration0:00:01.188513

Supplementary files

Standard error output (stderr)

etc/python/grass/lib/gis.py:797: 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
Traceback (most recent call last):
  File "lib/python/pygrass/raster/testsuite/test_doctests.py", line 11, in <module>
    import grass.pygrass.raster as pgrass
  File "etc/python/grass/pygrass/raster/__init__.py", line 24, in <module>
    from grass.pygrass.gis.region import Region
  File "etc/python/grass/pygrass/gis/__init__.py", line 22, in <module>
    'icon': libgis.G_ELEMENT_ICON,
AttributeError: 'module' object has no attribute 'G_ELEMENT_ICON'