test_history

./lib/python/pygrass/raster – test_history

Test failed

Testtest_history
Testsuite./lib/python/pygrass/raster
Test file./lib/python/pygrass/raster/testsuite/test_history.py
StatusFAILED
Return code1
Number of tests1
Successful tests0
Failed tests1
Percent successful0%
Test duration0:00:01.010611

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 *
etc/python/grass/pygrass/raster/history.py:12: DeprecationWarning: Overriding __eq__ blocks inheritance of __hash__ in 3.x
  class History(object):
/usr/lib/python2.7/xml/etree/ElementTree.py:1638: DeprecationWarning: This method of XMLParser is deprecated.  Define doctype() method on the TreeBuilder target.
  DeprecationWarning,
F
======================================================================
FAIL: testHistory (__main__.RasterHistoryTestCate)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "lib/python/pygrass/raster/testsuite/test_history.py", line 43, in testHistory
    self.assertEqual(hist.title, "A test map")
AssertionError: 'RasterCategoryTestCase_map' != 'A test map'
- RasterCategoryTestCase_map
+ A test map


----------------------------------------------------------------------
Ran 1 test in 0.177s
FAILED (failures=1)