❌ Test failed
Test | test_doctests |
Testsuite | ./lib/python/gunittest |
Test file | ./lib/python/gunittest/testsuite/test_doctests.py |
Status | FAILED |
Return code | 1 |
Number of tests | 11 |
Successful tests | 9 |
Failed tests | 2 |
Percent successful | 82% |
Test duration | 0:00:05.107976 |
/usr/lib/python2.7/xml/etree/ElementTree.py:1638: DeprecationWarning: This method of XMLParser is deprecated. Define doctype() method on the TreeBuilder target. DeprecationWarning, FF......... ====================================================================== FAIL: SimpleModule (grass.gunittest.gmodules) Doctest: grass.gunittest.gmodules.SimpleModule ---------------------------------------------------------------------- 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.gunittest.gmodules.SimpleModule File "etc/python/grass/gunittest/gmodules.py", line 20, in SimpleModule ---------------------------------------------------------------------- File "etc/python/grass/gunittest/gmodules.py", line 41, in grass.gunittest.gmodules.SimpleModule Failed example: colors.outputs.stderr.strip() Expected: "Color table for raster map <test_a> set to 'rules'" Got: u"Color table for raster map <test_a> set to 'rules'" ====================================================================== FAIL: call_module (grass.gunittest.gmodules) Doctest: grass.gunittest.gmodules.call_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.gunittest.gmodules.call_module File "etc/python/grass/gunittest/gmodules.py", line 59, in call_module ---------------------------------------------------------------------- File "etc/python/grass/gunittest/gmodules.py", line 68, in grass.gunittest.gmodules.call_module Failed example: call_module('m.proj', flags='i', input='-', stdin="50.0 41.5") Expected: '8642890.65|6965155.61|0.00\n' Got: '3934667.67|5490442.18|0.00\n' ---------------------------------------------------------------------- Ran 11 tests in 4.473s FAILED (failures=2)