❌ Test failed
| Test | test_raster_algebra_granularity |
| Testsuite | ./temporal/t.rast.algebra |
| Test file | ./temporal/t.rast.algebra/testsuite/test_raster_algebra_granularity.py |
| Status | FAILED |
| Return code | 1 |
| Number of tests | 10 |
| Successful tests | 0 |
| Failed tests | 20 |
| Percent successful | 0% |
| Test duration | 0:00:32.926111 |
... (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_raster_algebra.py", line 137, in p_ts_neighbour_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_tmap_map (__main__.TestTRastAlgebraGranularity)
Test STDS + single map with and without timestamp
----------------------------------------------------------------------
Traceback (most recent call last):
File "temporal/t.rast.algebra/testsuite/test_raster_algebra_granularity.py", line 223, in test_tmap_map
self.assertModule("t.rast.algebra", expression=expr, flags="gd", basename="r")
File "etc/python/grass/gunittest/case.py", line 1164, in assertModule
self.fail(self._formatMessage(msg, stdmsg))
AssertionError: Running <t.rast.algebra> module ended with non-zero return code (1)
Called: t.rast_algebra(expression='R = tmap(singletmap) + A + map(singletmap)', basename='r', suffix='num', nprocs=1, flags=u'gd')
See the following errors:
ERROR: Wrong type of input A
Traceback (most recent call last):
File "scripts/t.rast.algebra", line 132, in <module>
sys.exit(main())
File "scripts/t.rast.algebra", line 124, in main
pc = p.parse(expression, basename, grass.script.overwrite())
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 1043, in p_arith2_operation
maplistB = self.check_stds(t[3])
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 10 tests in 31.977s
FAILED (failures=10, errors=10)