test_r_mapcalc

./raster/r.mapcalc – test_r_mapcalc

Test failed

Testtest_r_mapcalc
Testsuite./raster/r.mapcalc
Test file./raster/r.mapcalc/testsuite/test_r_mapcalc.py
StatusFAILED
Return code1
Number of tests10
Successful tests9
Failed tests1
Percent successful90%
Test duration0:00:01.666302
Tested modulesr.mapcalc

Supplementary files

Standard error output (stderr)

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)