[GRASS-dev] [GRASS GIS] #3826: Fix doctests for Python 3

#3826: Fix doctests for Python 3
-----------------------------------------+-------------------------
Reporter: sbl | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 7.8.0
Component: Tests | Version: 7.2.2
Keywords: gunittests,doctests,Python3 | CPU: Unspecified
Platform: Unspecified |
-----------------------------------------+-------------------------
Doctests are mainly failing in Python 3 due to unicode literals.

Possible approaches described here:

  - https://stackoverflow.com/questions/13473971/multi-version-support-for-
python-doctests
  - https://stackoverflow.com/questions/42158733/unicode-literals-and-
doctest-in-python-2-7-and-python-3-5

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

#3826: Fix doctests for Python 3
--------------------------+-----------------------------------------
  Reporter: sbl | Owner: grass-dev@…
      Type: defect | Status: new
  Priority: normal | Milestone: 7.8.0
Component: Tests | Version: svn-trunk
Resolution: | Keywords: gunittests,doctests,Python3
       CPU: Unspecified | Platform: Unspecified
--------------------------+-----------------------------------------
Changes (by sbl):

* version: 7.2.2 => svn-trunk

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