unittests_temporal_conditionals

./lib/python/temporal – unittests_temporal_conditionals

Test failed

Testunittests_temporal_conditionals
Testsuite./lib/python/temporal
Test file./lib/python/temporal/testsuite/unittests_temporal_conditionals.py
StatusFAILED
Return code1
Number of tests17
Successful tests0
Failed tests34
Percent successful0%
Test duration0:00:26.242176

Supplementary files

Standard error output (stderr)

... (lines omitted)
ArgumentError: argument 1: <type 'exceptions.TypeError'>: expected LP_struct_RTree instance instead of LP_struct_RTree

======================================================================
ERROR: test_temporal_condition_else_4 (__main__.TestTemporalConditionals)
Testing the temporal select operator with equal relations.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "lib/python/temporal/testsuite/unittests_temporal_conditionals.py", line 69, in tearDown
    self.runModule("t.remove", inputs="R", quiet=True)
  File "etc/python/grass/gunittest/case.py", line 1098, in runModule
    errors=errors)
CalledModuleError: Module run 1 t.remove ended with error
Process ended with non-zero return code t.remove(inputs=['R'], type='strds', quiet=True). See errors in the (error) output.

======================================================================
ERROR: test_temporal_conditional_13 (__main__.TestTemporalConditionals)
Testing the hash operator function in conditional statement.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "lib/python/temporal/testsuite/unittests_temporal_conditionals.py", line 281, in test_temporal_conditional_13
    basename="r", 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 2727, in p_t_var_expr_comp_op
    compare_bool=True, compop=function[0], aggregate=aggregate)
  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_temporal_conditional_13 (__main__.TestTemporalConditionals)
Testing the hash operator function in conditional statement.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "lib/python/temporal/testsuite/unittests_temporal_conditionals.py", line 69, in tearDown
    self.runModule("t.remove", inputs="R", quiet=True)
  File "etc/python/grass/gunittest/case.py", line 1098, in runModule
    errors=errors)
CalledModuleError: Module run 1 t.remove ended with error
Process ended with non-zero return code t.remove(inputs=['R'], type='strds', quiet=True). See errors in the (error) output.

----------------------------------------------------------------------
Ran 17 tests in 25.233s
FAILED (errors=34)