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 tests89
Successful tests85
Failed tests4
Percent successful96%
Test duration0:00:05.041486

Supplementary files

Standard error output (stderr)

... (lines omitted)
    print(p.relations, p.temporal, p.function)
Expected:
    (['during'], 'r', '+')
Got:
    ['during'] r +
----------------------------------------------------------------------
File "etc/python/grass/temporal/temporal_operator.py", line 82, in grass.temporal.temporal_operator
Failed example:
    print(p.relations, p.temporal, p.function)
Expected:
    (['equal', 'contains'], 'l', '/')
Got:
    ['equal', 'contains'] l /
----------------------------------------------------------------------
File "etc/python/grass/temporal/temporal_operator.py", line 87, in grass.temporal.temporal_operator
Failed example:
    print(p.relations, p.temporal, p.function)
Expected:
    (['equal', 'contains'], 'i', '+')
Got:
    ['equal', 'contains'] i +
----------------------------------------------------------------------
File "etc/python/grass/temporal/temporal_operator.py", line 92, in grass.temporal.temporal_operator
Failed example:
    print(p.relations, p.temporal, p.function)
Expected:
    (['contains'], 'd', '*')
Got:
    ['contains'] d *
----------------------------------------------------------------------
File "etc/python/grass/temporal/temporal_operator.py", line 97, in grass.temporal.temporal_operator
Failed example:
    print(p.relations, p.temporal, p.function)
Expected:
    (['equal'], 'l', '~')
Got:
    ['equal'] l ~
----------------------------------------------------------------------
File "etc/python/grass/temporal/temporal_operator.py", line 102, in grass.temporal.temporal_operator
Failed example:
    print(p.relations, p.temporal, p.function)
Expected:
    (['overlaps', 'overlapped'], 'r', '^')
Got:
    ['overlaps', 'overlapped'] r ^


----------------------------------------------------------------------
Ran 89 tests in 3.811s
FAILED (failures=4)