test_r_viewshed

./raster/r.viewshed – test_r_viewshed

Test failed

Test filetest_r_viewshed
Testsuite./raster/r.viewshed
StatusFAILED
Return code1
Number of tests2
Successful tests1
Failed tests1
Percent successful50%
Test duration0:00:01.636035
Tested modulesr.viewshed

Supplementary files

Standard error output (stderr)

etc/python/grass/lib/gis.py:803: DeprecationWarning: classic int division
  ('__val', c_ulong * (1024 / (8 * sizeof(c_ulong)))),
/usr/lib/python2.7/dist-packages/numpy/core/__init__.py:6: 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:7: DeprecationWarning: CObject type is not supported in 3.x. Please use capsule objects instead.
  from . import umath
/usr/lib/python2.7/xml/etree/ElementTree.py:1627: DeprecationWarning: This method of XMLParser is deprecated.  Define doctype() method on the TreeBuilder target.
  DeprecationWarning,
F.
======================================================================
FAIL: test_limits (__main__.TestViewshed)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "raster/r.viewshed/testsuite/test_r_viewshed.py", line 10, in test_limits
    coordinates=(634720,216180), output=viewshed, obs_elev=obs_elev)
  File "etc/python/grass/gunittest/case.py", line 1019, in assertModule
    self.fail(self._formatMessage(msg, stdmsg))
AssertionError: Running <r.viewshed> module ended with non-zero return code (1)
Called: r.viewshed(input='elevation', output='limits_obs_elev', coordinates=[(634720, 216180)], obs_elev=1.72, tgt_elev=0.0, max_dist=-1.0, refraction_coeff=0.14286, memory=500)
See the folowing errors:
WARNING: Viewpoint outside grid
WARNING: viewpont: (row=19723, col=1294)
ERROR: grid: (rows=1076, cols=828)


----------------------------------------------------------------------
Ran 2 tests in 0.538s
FAILED (failures=1)