❌ Test failed
Test | unittests_temporal_algebra |
Testsuite | ./lib/python/temporal |
Test file | ./lib/python/temporal/testsuite/unittests_temporal_algebra.py |
Status | FAILED |
Return code | 1 |
Number of tests | 25 |
Successful tests | 2 |
Failed tests | 39 |
Percent successful | 8% |
Test duration | 0:00:33.756033 |
... (lines omitted) ====================================================================== ERROR: test_merge_function3 (__main__.TestTemporalAlgebraDryRun) Testing the merge function. ---------------------------------------------------------------------- Traceback (most recent call last): File "lib/python/temporal/testsuite/unittests_temporal_algebra.py", line 483, in test_merge_function3 overwrite=True) File "etc/python/grass/temporal/temporal_algebra.py", line 905, in parse self.parser.parse(expression) File "/usr/lib/python2.7/dist-packages/ply/yacc.py", line 331, in parse return self.parseopt_notrack(input, lexer, debug, tracking, tokenfunc) File "/usr/lib/python2.7/dist-packages/ply/yacc.py", line 1106, in parseopt_notrack p.callable(pslice) File "etc/python/grass/temporal/temporal_algebra.py", line 2820, in p_expr_t_select_operator inverse=negation) File "etc/python/grass/temporal/temporal_algebra.py", line 1709, in perform_temporal_selection assign_val = assign_val) File "etc/python/grass/temporal/temporal_algebra.py", line 1486, in build_spatio_temporal_topology_list tb.build(maplistA, maplistB) File "etc/python/grass/temporal/spatio_temporal_relationships.py", line 552, in build vector.RTreeSearch2(tree, rect, list_) ArgumentError: argument 1: <type 'exceptions.TypeError'>: expected LP_struct_RTree instance instead of LP_struct_RTree ====================================================================== ERROR: test_shift2 (__main__.TestTemporalAlgebraDryRun) Testing the shift function. ---------------------------------------------------------------------- Traceback (most recent call last): File "lib/python/temporal/testsuite/unittests_temporal_algebra.py", line 505, in test_shift2 overwrite=True) File "etc/python/grass/temporal/temporal_algebra.py", line 905, in parse self.parser.parse(expression) File "/usr/lib/python2.7/dist-packages/ply/yacc.py", line 331, in parse return self.parseopt_notrack(input, lexer, debug, tracking, tokenfunc) File "/usr/lib/python2.7/dist-packages/ply/yacc.py", line 1106, in parseopt_notrack p.callable(pslice) File "etc/python/grass/temporal/temporal_algebra.py", line 2820, in p_expr_t_select_operator inverse=negation) File "etc/python/grass/temporal/temporal_algebra.py", line 1704, in perform_temporal_selection assign_val = assign_val) File "etc/python/grass/temporal/temporal_algebra.py", line 1486, in build_spatio_temporal_topology_list tb.build(maplistA, maplistB) File "etc/python/grass/temporal/spatio_temporal_relationships.py", line 552, in build vector.RTreeSearch2(tree, rect, list_) ArgumentError: argument 1: <type 'exceptions.TypeError'>: expected LP_struct_RTree instance instead of LP_struct_RTree ---------------------------------------------------------------------- Ran 25 tests in 32.749s FAILED (errors=39)