unittests_temporal_raster_algebra_spatial_topology

./lib/python/temporal – unittests_temporal_raster_algebra_spatial_topology

Test failed

Testunittests_temporal_raster_algebra_spatial_topology
Testsuite./lib/python/temporal
Test file./lib/python/temporal/testsuite/unittests_temporal_raster_algebra_spatial_topology.py
StatusFAILED
Return code1
Number of tests6
Successful tests0
Failed tests12
Percent successful0%
Test duration0:00:23.283610

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_equal_overlap_sum (__main__.TestTemporalRasterAlgebraSpatialTopology)
Spatial topology distinction with equal timestamps
----------------------------------------------------------------------
Traceback (most recent call last):
  File "lib/python/temporal/testsuite/unittests_temporal_raster_algebra_spatial_topology.py", line 59, 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_equal_overlap_sum_with_null (__main__.TestTemporalRasterAlgebraSpatialTopology)
Spatial topology distinction with equal timestamps
----------------------------------------------------------------------
Traceback (most recent call last):
  File "lib/python/temporal/testsuite/unittests_temporal_raster_algebra_spatial_topology.py", line 147, in test_equal_overlap_sum_with_null
    ta.parse(expression="R = A {+,equal|overlap,l} B", 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 1234, in p_arith2_operation_relation
    compop=function)
  File "etc/python/grass/temporal/temporal_raster_base_algebra.py", line 261, in build_spatio_temporal_topology_list
    tb.build(maplistA, maplistB, spatial=spatialdict[self.stdstype])
  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_equal_overlap_sum_with_null (__main__.TestTemporalRasterAlgebraSpatialTopology)
Spatial topology distinction with equal timestamps
----------------------------------------------------------------------
Traceback (most recent call last):
  File "lib/python/temporal/testsuite/unittests_temporal_raster_algebra_spatial_topology.py", line 59, 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 6 tests in 22.261s
FAILED (errors=12)