unittests_temporal_raster_algebra_equal_ts

./lib/python/temporal – unittests_temporal_raster_algebra_equal_ts

Test failed

Testunittests_temporal_raster_algebra_equal_ts
Testsuite./lib/python/temporal
Test file./lib/python/temporal/testsuite/unittests_temporal_raster_algebra_equal_ts.py
StatusFAILED
Return code1
Number of tests5
Successful tests0
Failed tests10
Percent successful0%
Test duration0:00:18.735095

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_single_map_complex_operator_right_ts (__main__.TestTemporalRasterAlgebraImplicitAggregation)
Test implicit aggregation
----------------------------------------------------------------------
Traceback (most recent call last):
  File "lib/python/temporal/testsuite/unittests_temporal_raster_algebra_equal_ts.py", line 43, in tearDown
    self.runModule("t.remove", flags="rf", 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', flags=u'rf', quiet=True). See errors in the (error) output.

======================================================================
ERROR: test_single_map_simple_operator (__main__.TestTemporalRasterAlgebraImplicitAggregation)
Test implicit aggregation
----------------------------------------------------------------------
Traceback (most recent call last):
  File "lib/python/temporal/testsuite/unittests_temporal_raster_algebra_equal_ts.py", line 148, in test_single_map_simple_operator
    ta.parse(expression="R = tmap(singletmap) + A",   basename="r", overwrite=True)
  File "etc/python/grass/temporal/temporal_raster_algebra.py", line 112, 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_raster_base_algebra.py", line 1044, in p_arith2_operation
    topolist = self.build_spatio_temporal_topology_list(maplistA, maplistB)
  File "etc/python/grass/temporal/temporal_raster_base_algebra.py", line 263, 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_single_map_simple_operator (__main__.TestTemporalRasterAlgebraImplicitAggregation)
Test implicit aggregation
----------------------------------------------------------------------
Traceback (most recent call last):
  File "lib/python/temporal/testsuite/unittests_temporal_raster_algebra_equal_ts.py", line 43, in tearDown
    self.runModule("t.remove", flags="rf", 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', flags=u'rf', quiet=True). See errors in the (error) output.

----------------------------------------------------------------------
Ran 5 tests in 17.702s
FAILED (errors=10)