unittests_temporal_algebra_grs

./lib/python/temporal – unittests_temporal_algebra_grs

Test failed

Testunittests_temporal_algebra_grs
Testsuite./lib/python/temporal
Test file./lib/python/temporal/testsuite/unittests_temporal_algebra_grs.py
StatusFAILED
Return code1
Number of tests6
Successful tests0
Failed tests6
Percent successful0%
Test duration0:00:06.704796

Supplementary files

Standard error output (stderr)

... (lines omitted)
Traceback (most recent call last):
  File "lib/python/temporal/testsuite/unittests_temporal_algebra_grs.py", line 173, in test_common_granularity_4
    ret = ta.setup_common_granularity(expression=expr)
  File "etc/python/grass/temporal/temporal_algebra.py", line 858, in setup_common_granularity
    if stds.check_temporal_topology() is False:
  File "etc/python/grass/temporal/abstract_space_time_dataset.py", line 540, in check_temporal_topology
    dbif=dbif)
  File "etc/python/grass/temporal/spatio_temporal_relationships.py", line 847, in count_temporal_topology_relationships
    tb.build(maps1, maps2)
  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_common_granularity_5 (__main__.TestTemporalAlgebraGranularity)
Testing the common granularity function year to month with gaps.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "lib/python/temporal/testsuite/unittests_temporal_algebra_grs.py", line 192, in test_common_granularity_5
    ret = ta.setup_common_granularity(expression=expr)
  File "etc/python/grass/temporal/temporal_algebra.py", line 858, in setup_common_granularity
    if stds.check_temporal_topology() is False:
  File "etc/python/grass/temporal/abstract_space_time_dataset.py", line 540, in check_temporal_topology
    dbif=dbif)
  File "etc/python/grass/temporal/spatio_temporal_relationships.py", line 847, in count_temporal_topology_relationships
    tb.build(maps1, maps2)
  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_common_granularity_6 (__main__.TestTemporalAlgebraGranularity)
Testing the common granularity function year to month with gaps.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "lib/python/temporal/testsuite/unittests_temporal_algebra_grs.py", line 211, in test_common_granularity_6
    ret = ta.setup_common_granularity(expression=expr)
  File "etc/python/grass/temporal/temporal_algebra.py", line 858, in setup_common_granularity
    if stds.check_temporal_topology() is False:
  File "etc/python/grass/temporal/abstract_space_time_dataset.py", line 540, in check_temporal_topology
    dbif=dbif)
  File "etc/python/grass/temporal/spatio_temporal_relationships.py", line 847, in count_temporal_topology_relationships
    tb.build(maps1, maps2)
  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 6 tests in 5.783s
FAILED (errors=6)