❌ Test failed
Test | test_raster |
Testsuite | ./lib/python/pygrass/raster |
Test file | ./lib/python/pygrass/raster/testsuite/test_raster.py |
Status | FAILED |
Return code | 1 |
Number of tests | 6 |
Successful tests | 0 |
Failed tests | 6 |
Percent successful | 0% |
Test duration | 0:00:01.896681 |
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 /usr/lib/python2.7/xml/etree/ElementTree.py:1627: DeprecationWarning: This method of XMLParser is deprecated. Define doctype() method on the TreeBuilder target. DeprecationWarning, WARNING: <elevation> not found FEEEFE ====================================================================== ERROR: test_isopen (__main__.RasterRowTestCate) ---------------------------------------------------------------------- Traceback (most recent call last): File "lib/python/pygrass/raster/testsuite/test_raster.py", line 36, in test_isopen r.open(mode='r') File "etc/python/grass/pygrass/raster/__init__.py", line 181, in open raise OpenError(str_err) OpenError: The map does not exist, I can't open in 'r' mode ====================================================================== ERROR: test_name (__main__.RasterRowTestCate) ---------------------------------------------------------------------- Traceback (most recent call last): File "lib/python/pygrass/raster/testsuite/test_raster.py", line 43, in test_name r.open(mode='r') File "etc/python/grass/pygrass/raster/__init__.py", line 181, in open raise OpenError(str_err) OpenError: The map does not exist, I can't open in 'r' mode ====================================================================== ERROR: test_open_r (__main__.RasterRowTestCate) ---------------------------------------------------------------------- Traceback (most recent call last): File "lib/python/pygrass/raster/testsuite/test_raster.py", line 61, in test_open_r r.open(mode='r', mtype='DCELL') File "etc/python/grass/pygrass/raster/__init__.py", line 181, in open raise OpenError(str_err) OpenError: The map does not exist, I can't open in 'r' mode ====================================================================== ERROR: test_type (__main__.RasterRowTestCate) ---------------------------------------------------------------------- Traceback (most recent call last): File "lib/python/pygrass/raster/testsuite/test_raster.py", line 29, in test_type r.open(mode='r') File "etc/python/grass/pygrass/raster/__init__.py", line 181, in open raise OpenError(str_err) OpenError: The map does not exist, I can't open in 'r' mode ====================================================================== FAIL: test_exist (__main__.RasterRowTestCate) ---------------------------------------------------------------------- Traceback (most recent call last): File "lib/python/pygrass/raster/testsuite/test_raster.py", line 53, in test_exist self.assertTrue(exist.exist()) AssertionError: False is not true ====================================================================== FAIL: test_open_w (__main__.RasterRowTestCate) ---------------------------------------------------------------------- Traceback (most recent call last): File "lib/python/pygrass/raster/testsuite/test_raster.py", line 70, in test_open_w r.open(mode='w') AssertionError: OpenError not raised ---------------------------------------------------------------------- Ran 6 tests in 0.095s FAILED (failures=2, errors=4)