test_rinpoly

./raster/r.in.poly – test_rinpoly

Test failed

Testtest_rinpoly
Testsuite./raster/r.in.poly
Test file./raster/r.in.poly/testsuite/test_rinpoly.py
StatusFAILED
Return code1
Number of tests7
Successful tests1
Failed tests6
Percent successful14%
Test duration0:00:33.808981
Tested modulesr.in.poly

Supplementary files

Standard error output (stderr)

/usr/lib/python2.7/xml/etree/ElementTree.py:1638: DeprecationWarning: This method of XMLParser is deprecated.  Define doctype() method on the TreeBuilder target.
  DeprecationWarning,
.FFFFFF
======================================================================
FAIL: testTypeCell (__main__.TestRInPoly)
Test type of resulting map
----------------------------------------------------------------------
Traceback (most recent call last):
  File "raster/r.in.poly/testsuite/test_rinpoly.py", line 56, in testTypeCell
    self.assertRasterFitsInfo(raster=self.rinpoly, reference=minmax)
  File "etc/python/grass/gunittest/case.py", line 298, in assertRasterFitsInfo
    precision=precision)
  File "etc/python/grass/gunittest/case.py", line 253, in assertModuleKeyValue
    self.fail(self._formatMessage(msg, stdMsg))
AssertionError: r.info map=test_rinpoly -g -r -e difference:
mismatch values (key, reference, actual): [('max', 10, 'NULL'), ('min', -8, 'NULL')]
command: r.info map=test_rinpoly -g -r -e {'map': 'test_rinpoly', 'flags': 'gre'}

======================================================================
FAIL: testTypeCellNull (__main__.TestRInPoly)
Test type of resulting map
----------------------------------------------------------------------
Traceback (most recent call last):
  File "raster/r.in.poly/testsuite/test_rinpoly.py", line 81, in testTypeCellNull
    self.assertRasterFitsInfo(raster=self.rinpoly, reference=minmax, precision=1e-8)
  File "etc/python/grass/gunittest/case.py", line 298, in assertRasterFitsInfo
    precision=precision)
  File "etc/python/grass/gunittest/case.py", line 253, in assertModuleKeyValue
    self.fail(self._formatMessage(msg, stdMsg))
AssertionError: r.info map=test_rinpoly -g -r -e difference:
mismatch values (key, reference, actual): [('max', 10, 'NULL'), ('min', 3, 'NULL')]
command: r.info map=test_rinpoly -g -r -e {'map': 'test_rinpoly', 'flags': 'gre'}

======================================================================
FAIL: testTypeDCell (__main__.TestRInPoly)
Test type of resulting map
----------------------------------------------------------------------
Traceback (most recent call last):
  File "raster/r.in.poly/testsuite/test_rinpoly.py", line 72, in testTypeDCell
    self.assertRasterFitsInfo(raster=self.rinpoly, reference=minmax, precision=1e-8)
  File "etc/python/grass/gunittest/case.py", line 298, in assertRasterFitsInfo
    precision=precision)
  File "etc/python/grass/gunittest/case.py", line 253, in assertModuleKeyValue
    self.fail(self._formatMessage(msg, stdMsg))
AssertionError: r.info map=test_rinpoly -g -r -e difference:
mismatch values (key, reference, actual): [('max', 10.01, 'NULL'), ('min', -8, 'NULL')]
command: r.info map=test_rinpoly -g -r -e {'map': 'test_rinpoly', 'flags': 'gre'}

======================================================================
FAIL: testTypeDCellNull (__main__.TestRInPoly)
Test type of resulting map
----------------------------------------------------------------------
Traceback (most recent call last):
  File "raster/r.in.poly/testsuite/test_rinpoly.py", line 90, in testTypeDCellNull
    self.assertRasterFitsInfo(raster=self.rinpoly, reference=minmax, precision=1e-8)
  File "etc/python/grass/gunittest/case.py", line 298, in assertRasterFitsInfo
    precision=precision)
  File "etc/python/grass/gunittest/case.py", line 253, in assertModuleKeyValue
    self.fail(self._formatMessage(msg, stdMsg))
AssertionError: r.info map=test_rinpoly -g -r -e difference:
mismatch values (key, reference, actual): [('max', 10.01, 'NULL'), ('min', 3, 'NULL')]
command: r.info map=test_rinpoly -g -r -e {'map': 'test_rinpoly', 'flags': 'gre'}

======================================================================
FAIL: testTypeDCellNull2 (__main__.TestRInPoly)
Test type of resulting map
----------------------------------------------------------------------
Traceback (most recent call last):
  File "raster/r.in.poly/testsuite/test_rinpoly.py", line 99, in testTypeDCellNull2
    self.assertRasterFitsInfo(raster=self.rinpoly, reference=minmax, precision=1e-8)
  File "etc/python/grass/gunittest/case.py", line 298, in assertRasterFitsInfo
    precision=precision)
  File "etc/python/grass/gunittest/case.py", line 253, in assertModuleKeyValue
    self.fail(self._formatMessage(msg, stdMsg))
AssertionError: r.info map=test_rinpoly -g -r -e difference:
mismatch values (key, reference, actual): [('max', 10.01, 'NULL'), ('min', -8, 'NULL')]
command: r.info map=test_rinpoly -g -r -e {'map': 'test_rinpoly', 'flags': 'gre'}

======================================================================
FAIL: testTypeFCell (__main__.TestRInPoly)
Test type of resulting map
----------------------------------------------------------------------
Traceback (most recent call last):
  File "raster/r.in.poly/testsuite/test_rinpoly.py", line 64, in testTypeFCell
    self.assertRasterFitsInfo(raster=self.rinpoly, reference=minmax, precision=1e-8)
  File "etc/python/grass/gunittest/case.py", line 298, in assertRasterFitsInfo
    precision=precision)
  File "etc/python/grass/gunittest/case.py", line 253, in assertModuleKeyValue
    self.fail(self._formatMessage(msg, stdMsg))
AssertionError: r.info map=test_rinpoly -g -r -e difference:
mismatch values (key, reference, actual): [('max', 10.01, 'NULL'), ('min', -8, 'NULL')]
command: r.info map=test_rinpoly -g -r -e {'map': 'test_rinpoly', 'flags': 'gre'}

----------------------------------------------------------------------
Ran 7 tests in 33.043s
FAILED (failures=6)