unittests_temporal_algebra

./lib/python/temporal – unittests_temporal_algebra

Test failed

Testunittests_temporal_algebra
Testsuite./lib/python/temporal
Test file./lib/python/temporal/testsuite/unittests_temporal_algebra.py
StatusFAILED
Return code1
Number of tests25
Successful tests2
Failed tests39
Percent successful8%
Test duration0:00:33.756033

Supplementary files

Standard error output (stderr)

... (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)