test_doctests

./lib/python/temporal – test_doctests

Test failed

Testtest_doctests
Testsuite./lib/python/temporal
Test file./lib/python/temporal/testsuite/test_doctests.py
StatusFAILED
Return code1
Number of tests100
Successful tests93
Failed tests7
Percent successful93%
Test duration0:00:17.910565

Supplementary files

Standard error output (stderr)

... (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 16.870s
FAILED (failures=7)