[GRASS-dev] [GRASS GIS] #3737: Testsuite gunittest/multirunner.py: TypeError: str expected, not bytes
GRASS GIS
trac at osgeo.org
Mon Jan 28 01:28:33 PST 2019
#3737: Testsuite gunittest/multirunner.py: TypeError: str expected, not bytes
--------------------------+--------------------------------
Reporter: AnikaBettge | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 7.8.0
Component: Python | Version: svn-trunk
Resolution: | Keywords: Python3, testsuite
CPU: x86-64 | Platform: Linux
--------------------------+--------------------------------
Comment (by pmav99):
Hello Anna, is it necessary to redefine `encode()` and `decode()`? They
are already defined in a bunch of places already...
{{{
$ ag -l 'def encode' lib/python
lib/python/script/utils.py
lib/python/ctypes/preamble.py
lib/python/ctypes/ctypesgencore/printer/preamble.py
}}}
The one in `script/utils.py` seems to be OK.
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3737#comment:6>
GRASS GIS <https://grass.osgeo.org>
More information about the grass-dev
mailing list