❌ Test failed
Test | test_doctests |
Testsuite | ./lib/python/temporal |
Test file | ./lib/python/temporal/testsuite/test_doctests.py |
Status | FAILED |
Return code | 1 |
Number of tests | 100 |
Successful tests | 93 |
Failed tests | 7 |
Percent successful | 93% |
Test duration | 0:00:18.074095 |
... (lines omitted)
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.temporal.temporal_extent.TemporalExtent
File "etc/python/grass/temporal/temporal_extent.py", line 32, in TemporalExtent
----------------------------------------------------------------------
File "etc/python/grass/temporal/temporal_extent.py", line 60, in grass.temporal.temporal_extent.TemporalExtent
Failed example:
A.print_shell_info()
Expected:
start_time=2001-01-01 00:00:00
end_time=2005-01-01 00:00:00
Got:
start_time='2001-01-01 00:00:00'
end_time='2005-01-01 00:00:00'
----------------------------------------------------------------------
File "etc/python/grass/temporal/temporal_extent.py", line 75, in grass.temporal.temporal_extent.TemporalExtent
Failed example:
A.print_shell_info()
Expected:
start_time=0
end_time=1
Got:
start_time='0'
end_time='1'
======================================================================
FAIL: CLibrariesInterface (grass.temporal.c_libraries_interface)
Doctest: grass.temporal.c_libraries_interface.CLibrariesInterface
----------------------------------------------------------------------
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.temporal.c_libraries_interface.CLibrariesInterface
File "etc/python/grass/temporal/c_libraries_interface.py", line 962, in CLibrariesInterface
----------------------------------------------------------------------
File "etc/python/grass/temporal/c_libraries_interface.py", line 1080, in grass.temporal.c_libraries_interface.CLibrariesInterface
Failed example:
kvp['lines']
Expected:
10
Got:
0
----------------------------------------------------------------------
Ran 100 tests in 17.063s
FAILED (failures=7)