[GRASS-dev] [GRASS GIS] #3817: raster/r.category/test_rcategory_doctest.txt is broken

#3817: raster/r.category/test_rcategory_doctest.txt is broken
-------------------------+-------------------------
Reporter: pmav99 | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone:
Component: Tests | Version: unspecified
Keywords: | CPU: Unspecified
Platform: Unspecified |
-------------------------+-------------------------
On python 2:
{{{
1 items had failures:
    9 of 40 in test_rcategory_doctest.txt
40 tests in 1 items.
31 passed and 9 failed.
***Test Failed*** 9 failures.
}}}
On python 3:
{{{
1 items had failures:
    7 of 40 in test_rcategory_doctest.txt
40 tests in 1 items.
33 passed and 7 failed.
***Test Failed*** 7 failures.
}}}
AFAI can tell this is not being run on fatra.

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3817&gt;
GRASS GIS <https://grass.osgeo.org>

#3817: raster/r.category/test_rcategory_doctest.txt is broken
--------------------------+-------------------------
  Reporter: pmav99 | Owner: grass-dev@…
      Type: defect | Status: new
  Priority: normal | Milestone:
Component: Tests | Version: unspecified
Resolution: | Keywords:
       CPU: Unspecified | Platform: Unspecified
--------------------------+-------------------------

Comment (by sbl):

This is no proper gunittest and most likely therefore not included in
fatra.

Can be run with something like:
./bin.x86_64-pc-linux-gnu/grass77 -c
~/grassdata/nc_spm_full_v2alpha/mapset --exec python -m doctest -v
../grass7_trunk5/raster/r.category/test_rcategory_doctest.txt

But should be turned into a proper gunittest I guess...

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3817#comment:1&gt;
GRASS GIS <https://grass.osgeo.org>