[GRASS-dev] [GRASS GIS] #2875: Python testsuite failing with UnicodeDecodeError

GRASS GIS trac at osgeo.org
Mon Jan 25 07:04:53 PST 2016


#2875: Python testsuite failing with UnicodeDecodeError
--------------------------+-------------------------
  Reporter:  marisn       |      Owner:  grass-dev@…
      Type:  defect       |     Status:  new
  Priority:  normal       |  Milestone:  7.1.0
 Component:  Tests        |    Version:  svn-trunk
Resolution:               |   Keywords:
       CPU:  Unspecified  |   Platform:  Linux
--------------------------+-------------------------

Comment (by wenzeslaus):

 Replying to [comment:1 mlennert]:
 > ...maybe a few tests specifically on encoding might help finding
 encoding errors automatically. Although most encoding issues are GUI-
 related and I don't know if it is possible to test that ?

 Test suites can call whatever they want. Try to use translations or call
 some parts of GUI code - of course only the one which is actually not
 doing any GUI, there are some examples already. When calling module,
 whatever is in the module, e.g. translated error messages, is applied as
 usually (no special settings or code in gunittests to handle that).

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2875#comment:3>
GRASS GIS <https://grass.osgeo.org>



More information about the grass-dev mailing list