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

GRASS GIS trac at osgeo.org
Wed Apr 24 13:38:53 PDT 2019


#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>
GRASS GIS <https://grass.osgeo.org>



More information about the grass-dev mailing list