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

GRASS GIS trac at osgeo.org
Mon Jan 25 06:44:41 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 [ticket:2875 marisn]:
 > {{{
 >   File ".../pygrass/modules/interface/module.py", line 713, in run
 >   File ".../exceptions/__init__.py", line 71, in __init__
 > }}}
 >
 > The largest question is - should there be strings for translation at
 all? I think not as most of low level errors and debug information is not
 marked for translation. Tests should be run by developers not end users
 thus I don't see a point in translating such strings.

 The issue is that gunittest package currently depends on PyGRASS modules
 and few other things (grass.exceptions in this case). In general, there is
 no reason why the the dependency should be there if there is an
 alternative implementation (and we are fine with some code duplication).

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



More information about the grass-dev mailing list