❌ Test failed
Test | test_doctests |
Testsuite | ./lib/python/pygrass/modules/grid |
Test file | ./lib/python/pygrass/modules/grid/testsuite/test_doctests.py |
Status | FAILED |
Return code | 1 |
Number of tests | 1 |
Successful tests | 0 |
Failed tests | 1 |
Percent successful | 0% |
Test duration | 0:00:01.094550 |
etc/python/grass/lib/gis.py:801: DeprecationWarning: classic int division
('__val', c_ulong * (1024 / (8 * sizeof(c_ulong)))),
/usr/lib/python2.7/xml/etree/ElementTree.py:1627: DeprecationWarning: This method of XMLParser is deprecated. Define doctype() method on the TreeBuilder target.
DeprecationWarning,
F
======================================================================
FAIL: MetaModule (grass.pygrass.modules.shortcuts)
Doctest: grass.pygrass.modules.shortcuts.MetaModule
----------------------------------------------------------------------
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.shortcuts.MetaModule
File "etc/python/grass/pygrass/modules/shortcuts.py", line 14, in MetaModule
----------------------------------------------------------------------
File "etc/python/grass/pygrass/modules/shortcuts.py", line 27, in grass.pygrass.modules.shortcuts.MetaModule
Failed example:
g_list.outputs.stdout # doctest: +ELLIPSIS
Expected:
'...basins...soils...'
Got:
'gmted2010\ngmted2010.shade\nlandsat.blue\nlandsat.green\nlandsat.red\nlst_2010_01_average_piemonte\nlst_2010_02_average_piemonte\nlst_2010_03_average_piemonte\nlst_2010_04_average_piemonte\nlst_2010_05_average_piemonte\nlst_2010_06_average_piemonte\nlst_2010_07_average_piemonte\nlst_2010_08_average_piemonte\nlst_2010_09_average_piemonte\nlst_2010_10_average_piemonte\nlst_2010_11_average_piemonte\nlst_2010_12_average_piemonte\norbassano_orto.blue\norbassano_orto.green\norbassano_orto.red\norbassano_orto.rgb\nsrtm\nsrtm_grezzo\nuso_suolo2007\n'
----------------------------------------------------------------------
Ran 1 test in 0.092s
FAILED (failures=1)