❌ Test failed
Test | test_doctests |
Testsuite | ./lib/python/pygrass/modules/interface |
Test file | ./lib/python/pygrass/modules/interface/testsuite/test_doctests.py |
Status | FAILED |
Return code | 1 |
Number of tests | 9 |
Successful tests | 8 |
Failed tests | 1 |
Percent successful | 89% |
Test duration | 0:00:44.644943 |
.../usr/lib/python2.7/xml/etree/ElementTree.py:1638: DeprecationWarning: This method of XMLParser is deprecated. Define doctype() method on the TreeBuilder target.
DeprecationWarning,
Color table for raster map <test_a> set to 'rules'
Color table for raster map <test_a> set to 'ryb'
Color table for raster map <test_a> set to 'gyr'
F.....
======================================================================
FAIL: Module (grass.pygrass.modules.interface.module)
Doctest: grass.pygrass.modules.interface.module.Module
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.7/doctest.py", line 2226, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for grass.pygrass.modules.interface.module.Module
File "etc/python/grass/pygrass/modules/interface/module.py", line 312, in Module
----------------------------------------------------------------------
File "etc/python/grass/pygrass/modules/interface/module.py", line 397, in grass.pygrass.modules.interface.module.Module
Failed example:
colors.outputs["stderr"].value.strip()
Expected:
"Color table for raster map <test_a> set to 'rules'"
Got:
u"Color table for raster map <test_a> set to 'rules'"
----------------------------------------------------------------------
Ran 9 tests in 43.976s
FAILED (failures=1)