test_v_rast_stats

./scripts/v.rast.stats – test_v_rast_stats

Test failed

Testtest_v_rast_stats
Testsuite./scripts/v.rast.stats
Test file./scripts/v.rast.stats/testsuite/test_v_rast_stats.py
StatusFAILED
Return code1
Number of tests6
Successful tests3
Failed tests3
Percent successful50%
Test duration0:00:05.435360
Tested modulesv.rast.stats

Supplementary files

Standard error output (stderr)

/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:189: 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.677s
FAILED (failures=3)