test_doctests

./lib/python/gunittest – test_doctests

Test failed

Testtest_doctests
Testsuite./lib/python/gunittest
Test file./lib/python/gunittest/testsuite/test_doctests.py
StatusFAILED
Return code1
Number of tests11
Successful tests10
Failed tests1
Percent successful91%
Test duration0:00:01.207721

Supplementary files

Standard error output (stderr)

etc/python/grass/lib/gis.py:801: 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,
.F.........
======================================================================
FAIL: call_module (grass.gunittest.gmodules)
Doctest: grass.gunittest.gmodules.call_module
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/doctest.py", line 2226, in runTest
    raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for grass.gunittest.gmodules.call_module
  File "etc/python/grass/gunittest/gmodules.py", line 59, in call_module

----------------------------------------------------------------------
File "etc/python/grass/gunittest/gmodules.py", line 62, in grass.gunittest.gmodules.call_module
Failed example:
    print call_module('g.region', flags='pg')  # doctest: +ELLIPSIS
Expected:
    n=...
    s=...
    w=...
Got:
    projection=1
    zone=32
    n=5147000
    s=4878000
    w=311000
    e=518000
    nsres=250
    ewres=250
    rows=1076
    cols=828
    cells=890928
    <BLANKLINE>
----------------------------------------------------------------------
File "etc/python/grass/gunittest/gmodules.py", line 66, in grass.gunittest.gmodules.call_module
Failed example:
    call_module('m.proj', flags='i', input='-', stdin="50.0 41.5")
Expected:
    '8642890.65|6965155.61|0.00\n'
Got:
    '3934667.67|5490442.18|0.00\n'


----------------------------------------------------------------------
Ran 11 tests in 0.224s
FAILED (failures=1)