[GRASS-dev] [GRASS GIS] #3737: Testsuite gunittest/multirunner.py: TypeError: str expected, not bytes
GRASS GIS
trac at osgeo.org
Tue Jan 29 06:04:47 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 annakrat):
Replying to [comment:6 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.
True, but the library is not loaded at that point when I need to decode.
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3737#comment:7>
GRASS GIS <https://grass.osgeo.org>
More information about the grass-dev
mailing list