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.815750
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_a69dbe27df3b4fd190008dd4c2e936f2 -r difference:
mismatch values (key, reference, actual): [('max', 0, 80), ('min', 0, -119)]
command: r.info map=tmp_a69dbe27df3b4fd190008dd4c2e936f2 -r {'map': 'tmp_a69dbe27df3b4fd190008dd4c2e936f2', 'flags': 'r'}

----------------------------------------------------------------------
Ran 10 tests in 0.793s
FAILED (failures=1)