test_r_mapcalc

./raster/r.mapcalc – test_r_mapcalc

Test failed

Testtest_r_mapcalc
Testsuite./raster/r.mapcalc
Test file./raster/r.mapcalc/testsuite/test_r_mapcalc.py
StatusFAILED
Return code1
Number of tests2
Successful tests0
Failed tests2
Percent successful0%
Test duration0:00:01.270924

Supplementary files

Standard error output (stderr)

etc/python/grass/lib/gis.py:797: 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,
EE
======================================================================
ERROR: setUpClass (__main__.TestBasicOperations)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "raster/r.mapcalc/testsuite/test_r_mapcalc.py", line 175, in setUpClass
    cls.runModule('g.region', n=20, s=10, e=25, w=15, res=1)
  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 507, in __init__
    self.__setattr__(e.tag, GETFROMTAG[e.tag](e))
KeyError: 'rules'

======================================================================
ERROR: setUpClass (__main__.TestRandFunction)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "raster/r.mapcalc/testsuite/test_r_mapcalc.py", line 70, in setUpClass
    cls.runModule('g.region', n=20, s=10, e=25, w=15, res=1)
  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 507, in __init__
    self.__setattr__(e.tag, GETFROMTAG[e.tag](e))
KeyError: 'rules'

----------------------------------------------------------------------
Ran 0 tests in 0.116s
FAILED (errors=2)