test_r3_mapcalc

./raster/r.mapcalc – test_r3_mapcalc

Test failed

Test filetest_r3_mapcalc
Testsuite./raster/r.mapcalc
StatusFAILED
Return code1
Number of tests3
Successful tests3
Failed tests1
Percent successful100%
Test duration0:01:21.488971
Tested modulesr3.mapcalc

Supplementary files

Standard error output (stderr)

etc/python/grass/lib/gis.py:807: DeprecationWarning: classic int division
  ('__val', c_ulong * (1024 / (8 * sizeof(c_ulong)))),
/usr/lib/python2.7/xml/etree/ElementTree.py:1627: DeprecationWarning: This method of XMLParser is deprecated.  Define doctype() method on the TreeBuilder target.
  DeprecationWarning,
...E
======================================================================
ERROR: tearDownClass (__main__.TestBasicOperations)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "raster/r.mapcalc/testsuite/test_r3_mapcalc.py", line 25, in tearDownClass
    name=','.join(cls.to_remove), verbose=True)
  File "etc/python/grass/gunittest/case.py", line 932, in runModule
    module = _module_from_parameters(module, **kwargs)
  File "etc/python/grass/gunittest/case.py", line 1060, in _module_from_parameters
    module = SimpleModule(module, **kwargs)
  File "etc/python/grass/gunittest/gmodules.py", line 54, in __init__
    Module.__init__(self, cmd, *args, **kargs)
  File "etc/python/grass/pygrass/modules/interface/module.py", line 556, in __init__
    self.__call__(*args, **kargs)
  File "etc/python/grass/pygrass/modules/interface/module.py", line 594, 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 91, in _check_value
    raise ValueError(must_val % (param.name, param.values))
ValueError: The Parameter <type>, must be one of the following values: ['raster', '3draster', 'vector', 'oldvector', 'asciivector', 'labels', 'region', 'group', 'all']

----------------------------------------------------------------------
Ran 3 tests in 80.079s
FAILED (errors=1)