❌ 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 | 4 |
Failed tests | 3 |
Percent successful | 57% |
Test duration | 0:00:33.307544 |
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, FFF.... ====================================================================== FAIL: testLabels (__main__.TestRInPoly) Test type of resulting map ---------------------------------------------------------------------- Traceback (most recent call last): File "raster/r.in.poly/testsuite/test_rinpoly.py", line 108, in testLabels second=category, msg="Labels do not match") AssertionError: Labels do not match '-8\t\n3\tlabel2\n10.01\tlabel1' != '-8\t\n3\tlabel2\n10.01' -8 3 label2 - 10.01 label1+ 10.01 ====================================================================== 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'} ---------------------------------------------------------------------- Ran 7 tests in 32.551s FAILED (failures=3)