Supplementary files
Standard error output (stderr)
... (lines omitted)
======================================================================
FAIL: pixel2coor (grass.pygrass.utils)
Doctest: grass.pygrass.utils.pixel2coor
----------------------------------------------------------------------
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.pygrass.utils.pixel2coor
File "etc/python/grass/pygrass/utils.py", line 179, in pixel2coor
----------------------------------------------------------------------
File "etc/python/grass/pygrass/utils.py", line 182, in grass.pygrass.utils.pixel2coor
Failed example:
reg = Region()
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.7/doctest.py", line 1315, in __run
compileflags, 1) in test.globs
File "<doctest grass.pygrass.utils.pixel2coor[0]>", line 1, in <module>
reg = Region()
NameError: name 'Region' is not defined
----------------------------------------------------------------------
File "etc/python/grass/pygrass/utils.py", line 183, in grass.pygrass.utils.pixel2coor
Failed example:
pixel2coor((0, 0), reg) == (reg.north, reg.west)
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.7/doctest.py", line 1315, in __run
compileflags, 1) in test.globs
File "<doctest grass.pygrass.utils.pixel2coor[1]>", line 1, in <module>
pixel2coor((0, 0), reg) == (reg.north, reg.west)
NameError: name 'reg' is not defined
----------------------------------------------------------------------
File "etc/python/grass/pygrass/utils.py", line 185, in grass.pygrass.utils.pixel2coor
Failed example:
pixel2coor((reg.cols, reg.rows), reg) == (reg.south, reg.east)
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.7/doctest.py", line 1315, in __run
compileflags, 1) in test.globs
File "<doctest grass.pygrass.utils.pixel2coor[2]>", line 1, in <module>
pixel2coor((reg.cols, reg.rows), reg) == (reg.south, reg.east)
NameError: name 'reg' is not defined
----------------------------------------------------------------------
Ran 12 tests in 0.230s
FAILED (failures=6)