[GRASS-dev] [GRASS GIS] #3737: Testsuite gunittest/multirunner.py: TypeError: str expected, not bytes
GRASS GIS
trac at osgeo.org
Sat Jan 26 10:15:07 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):
This is also needed
{{{
Index: lib/python/gunittest/invoker.py
===================================================================
--- lib/python/gunittest/invoker.py (revision 74025)
+++ lib/python/gunittest/invoker.py (working copy)
@@ -161,7 +161,7 @@
# ignoring shebang line to use current Python
# and also pass parameters to it
# add also '-Qwarn'?
- p = subprocess.Popen([sys.executable, '-tt', '-3',
+ p = subprocess.Popen([sys.executable, '-tt',
module.abs_file_path],
cwd=cwd, env=env,
stdout=stdout, stderr=stderr)
}}}
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3737#comment:3>
GRASS GIS <https://grass.osgeo.org>
More information about the grass-dev
mailing list