r3flow_test

./raster3d/r3.flow – r3flow_test

Test failed

Test filer3flow_test
Testsuite./raster3d/r3.flow
StatusFAILED
Return code1
Number of tests2
Successful tests1
Failed tests2
Percent successful50%
Test duration0:00:01.687473
Tested modulesr3.flow

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.E
======================================================================
ERROR: tearDownClass (__main__.FlowlineTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "raster3d/r3.flow/testsuite/r3flow_test.py", line 57, in tearDownClass
    cls.runModule('g.remove', flags='f', type='rast3d', pattern=['map_1', 'map_2', 'map_3', 'map_4', 'map_5', 'test_flowaccum'])
  File "etc/python/grass/gunittest/case.py", line 935, in runModule
    module = _module_from_parameters(module, **kwargs)
  File "etc/python/grass/gunittest/case.py", line 1063, in _module_from_parameters
    module = SimpleModule(module, **kwargs)
  File "etc/python/grass/gunittest/gmodules.py", line 56, in __init__
    Module.__init__(self, cmd, *args, **kargs)
  File "etc/python/grass/pygrass/modules/interface/module.py", line 410, in __init__
    self.__call__(*args, **kargs)
  File "etc/python/grass/pygrass/modules/interface/module.py", line 447, in __call__
    self.inputs[key].value = val
  File "etc/python/grass/pygrass/modules/interface/parameter.py", line 183, in _set_value
    self._value, self._rawvalue = _check_value(self, value)
  File "etc/python/grass/pygrass/modules/interface/parameter.py", line 62, in _check_value
    raise TypeError(msg % param.name)
TypeError: The Parameter <pattern> does not accept multiple inputs

======================================================================
FAIL: test_flowlines (__main__.FlowlineTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "raster3d/r3.flow/testsuite/r3flow_test.py", line 92, in test_flowlines
    self.assertRaster3dFitsUnivar('test_flowaccum', reference=flowaccum, precision=1e-6)
  File "etc/python/grass/gunittest/case.py", line 269, in assertRaster3dFitsUnivar
    precision=precision)
  File "etc/python/grass/gunittest/case.py", line 204, in assertModuleKeyValue
    self.fail(self._formatMessage(msg, stdMsg))
AssertionError: r3.univar map=test_flowaccum percentile=90.0 separator== -g difference:
mismatch values(key, reference, actual): [('coeff_var', 178.097935490306, 177.119169754436), ('max', 91, 89), ('range', 91, 89), ('stddev', 11.3685848821312, 11.3061070026581), ('variance', 129.244722222222, 127.828055555556)]
command: r3.univar map=test_flowaccum percentile=90.0 separator== -g {'map': 'test_flowaccum', 'separator': '=', 'flags': 'g'}

----------------------------------------------------------------------
Ran 2 tests in 0.669s
FAILED (failures=1, errors=1)