test_vector_algebra

./temporal/t.vect.algebra – test_vector_algebra

Test failed

Testtest_vector_algebra
Testsuite./temporal/t.vect.algebra
Test file./temporal/t.vect.algebra/testsuite/test_vector_algebra.py
StatusFAILED
Return code1
Number of tests7
Successful tests0
Failed tests14
Percent successful0%
Test duration0:00:20.682090

Supplementary files

Standard error output (stderr)

... (lines omitted)
    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 2752, in p_expr_t_select
    maplistA     = self.check_stds(t[1])
  File "etc/python/grass/temporal/temporal_algebra.py", line 1226, in check_stds
    self.msgr.fatal(_("Wrong type of input " + str(input)))
  File "etc/python/grass/pygrass/messages/__init__.py", line 269, in fatal
    raise FatalError(message)
grass.exceptions.FatalError: Wrong type of input A


======================================================================
FAIL: test_temporal_select_operators (__main__.TestTemporalVectorAlgebra)
Testing the temporal select operator. Including temporal relations.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "temporal/t.vect.algebra/testsuite/test_vector_algebra.py", line 92, in test_temporal_select_operators
    self.assertModule("t.vect.algebra",  expression="R = A {:,during} C", basename="r")
  File "etc/python/grass/gunittest/case.py", line 1164, in assertModule
    self.fail(self._formatMessage(msg, stdmsg))
AssertionError: Running <t.vect.algebra> module ended with non-zero return code (1)
Called: t.vect_algebra(expression='R = A {:,during} C', basename='r')
See the following errors:
ERROR: Wrong type of input A
Traceback (most recent call last):
  File "scripts/t.vect.algebra", line 80, in <module>
    sys.exit(main())
  File "scripts/t.vect.algebra", line 76, in main
    p.parse(expression, basename, grass.script.overwrite())
  File "etc/python/grass/temporal/temporal_vector_algebra.py", line 161, 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 2808, in p_expr_t_select_operator
    maplistA = self.check_stds(t[1])
  File "etc/python/grass/temporal/temporal_algebra.py", line 1226, in check_stds
    self.msgr.fatal(_("Wrong type of input " + str(input)))
  File "etc/python/grass/pygrass/messages/__init__.py", line 269, in fatal
    raise FatalError(message)
grass.exceptions.FatalError: Wrong type of input A


----------------------------------------------------------------------
Ran 7 tests in 19.736s
FAILED (failures=7, errors=7)