❌ Test failed
Test | test_r_mapcalc |
Testsuite | ./raster/r.mapcalc |
Test file | ./raster/r.mapcalc/testsuite/test_r_mapcalc.py |
Status | FAILED |
Return code | 1 |
Number of tests | 10 |
Successful tests | 9 |
Failed tests | 1 |
Percent successful | 90% |
Test duration | 0:00:01.666302 |
Tested modules | r.mapcalc |
etc/python/grass/lib/gis.py:801: DeprecationWarning: classic int division
('__val', c_ulong * (1024 / (8 * sizeof(c_ulong)))),
/usr/lib/python2.7/xml/etree/ElementTree.py:1627: DeprecationWarning: This method of XMLParser is deprecated. Define doctype() method on the TreeBuilder target.
DeprecationWarning,
.....F....
======================================================================
FAIL: test_seed_cell (__main__.TestRandFunction)
Test given seed with CELL against reference map
----------------------------------------------------------------------
Traceback (most recent call last):
File "raster/r.mapcalc/testsuite/test_r_mapcalc.py", line 115, in test_seed_cell
precision=0)
File "etc/python/grass/gunittest/case.py", line 742, in assertRastersNoDifference
reference=statistics, msg=msg)
File "etc/python/grass/gunittest/case.py", line 245, in assertModuleKeyValue
self.fail(self._formatMessage(msg, stdMsg))
AssertionError: r.info map=tmp_b890e8390f0b46ec86c0194c81557bac -r difference:
mismatch values (key, reference, actual): [('max', 0, 80), ('min', 0, -119)]
command: r.info map=tmp_b890e8390f0b46ec86c0194c81557bac -r {'map': 'tmp_b890e8390f0b46ec86c0194c81557bac', 'flags': 'r'}
----------------------------------------------------------------------
Ran 10 tests in 0.626s
FAILED (failures=1)