❌ Test failed
Test | test_v_rast_stats |
Testsuite | ./scripts/v.rast.stats |
Test file | ./scripts/v.rast.stats/testsuite/test_v_rast_stats.py |
Status | FAILED |
Return code | 1 |
Number of tests | 6 |
Successful tests | 3 |
Failed tests | 3 |
Percent successful | 50% |
Test duration | 0:00:05.163862 |
Tested modules | v.rast.stats |
/usr/lib/python2.7/dist-packages/numpy/core/__init__.py:14: DeprecationWarning: CObject type is not supported in 3.x. Please use capsule objects instead. from . import multiarray /usr/lib/python2.7/dist-packages/numpy/core/__init__.py:21: DeprecationWarning: CObject type is not supported in 3.x. Please use capsule objects instead. from . import umath /usr/lib/python2.7/dist-packages/numpy/random/__init__.py:99: DeprecationWarning: CObject type is not supported in 3.x. Please use capsule objects instead. from .mtrand import * /usr/lib/python2.7/xml/etree/ElementTree.py:1638: DeprecationWarning: This method of XMLParser is deprecated. Define doctype() method on the TreeBuilder target. DeprecationWarning, etc/python/grass/pygrass/vector/__init__.py:193: DeprecationWarning: Vector.write(geo_obj, attrs=(...)) is depreciated, specify cat explicitly DeprecationWarning) Building topology for vector map <test_line@__scripts_v_rast_stats_test_v_rast_stats>... Registering primitives... FWARNING: Vector map <test_line> already exists and will be overwritten Building topology for vector map <test_line@__scripts_v_rast_stats_test_v_rast_stats>... Registering primitives... FWARNING: Vector map <test_line> already exists and will be overwritten Building topology for vector map <test_line@__scripts_v_rast_stats_test_v_rast_stats>... Registering primitives... F... ====================================================================== FAIL: test_1 (__main__.TestRastStats) ---------------------------------------------------------------------- Traceback (most recent call last): File "scripts/v.rast.stats/testsuite/test_v_rast_stats.py", line 64, in test_1 self.assertLooksLike(univar_string, v_db_select.outputs.stdout) File "etc/python/grass/gunittest/case.py", line 190, in assertLooksLike 'reference argument is not a string')) AssertionError: reference argument is not a string False is not true ====================================================================== FAIL: test_line (__main__.TestRastStats) ---------------------------------------------------------------------- Traceback (most recent call last): File "scripts/v.rast.stats/testsuite/test_v_rast_stats.py", line 93, in test_line self.assertLooksLike(output_str, v_db_select.outputs.stdout) File "etc/python/grass/gunittest/case.py", line 190, in assertLooksLike 'reference argument is not a string')) AssertionError: reference argument is not a string False is not true ====================================================================== FAIL: test_line_d (__main__.TestRastStats) ---------------------------------------------------------------------- Traceback (most recent call last): File "scripts/v.rast.stats/testsuite/test_v_rast_stats.py", line 78, in test_line_d self.assertLooksLike(output_str, v_db_select.outputs.stdout) File "etc/python/grass/gunittest/case.py", line 190, in assertLooksLike 'reference argument is not a string')) AssertionError: reference argument is not a string False is not true ---------------------------------------------------------------------- Ran 6 tests in 4.381s FAILED (failures=3)