test_raster3d_algebra

./temporal/t.rast3d.algebra – test_raster3d_algebra

Test failed

Testtest_raster3d_algebra
Testsuite./temporal/t.rast3d.algebra
Test file./temporal/t.rast3d.algebra/testsuite/test_raster3d_algebra.py
StatusFAILED
Return code1
Number of tests4
Successful tests1
Failed tests6
Percent successful25%
Test duration0:00:19.056067

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_raster3d_algebra.py", line 92, in p_ts_neighbor_operation
    maplist = 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_neighbors_granularity (__main__.TestTRast3dAlgebra)
Simple temporal neighborhood computation test with granularity algebra
----------------------------------------------------------------------
Traceback (most recent call last):
  File "temporal/t.rast3d.algebra/testsuite/test_raster3d_algebra.py", line 86, in test_temporal_neighbors_granularity
    basename="d")
  File "etc/python/grass/gunittest/case.py", line 1164, in assertModule
    self.fail(self._formatMessage(msg, stdmsg))
AssertionError: Running <t.rast3d.algebra> module ended with non-zero return code (1)
Called: t.rast3d_algebra(expression='D = A[0,0,0,-1] + A[0,0,0,1]', basename='d', nprocs=1, flags=u'g')
See the following errors:
ERROR: Wrong type of input A
Traceback (most recent call last):
  File "scripts/t.rast3d.algebra", line 109, in <module>
    sys.exit(main())
  File "scripts/t.rast3d.algebra", line 105, in main
    p.parse(expression, basename, grass.script.overwrite())
  File "etc/python/grass/temporal/temporal_raster3d_algebra.py", line 68, 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_raster3d_algebra.py", line 92, in p_ts_neighbor_operation
    maplist = 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 4 tests in 18.117s
FAILED (failures=3, errors=3)