test_doctests

./lib/python/pygrass/modules/interface – test_doctests

Test failed

Testtest_doctests
Testsuite./lib/python/pygrass/modules/interface
Test file./lib/python/pygrass/modules/interface/testsuite/test_doctests.py
StatusFAILED
Return code1
Number of tests9
Successful tests8
Failed tests1
Percent successful89%
Test duration0:00:43.590783

Supplementary files

Standard error output (stderr)

.../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 42.839s
FAILED (failures=1)