❌ Test failed
Test | test_rinpoly |
Testsuite | ./raster/r.in.poly |
Test file | ./raster/r.in.poly/testsuite/test_rinpoly.py |
Status | FAILED |
Return code | 1 |
Number of tests | 7 |
Successful tests | 1 |
Failed tests | 6 |
Percent successful | 14% |
Test duration | 0:00:35.183059 |
Tested modules | r.in.poly |
/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 34.521s FAILED (failures=6)