[GRASS-SVN] r74350 - grass/trunk/lib/python/gunittest

svn_grass at osgeo.org svn_grass at osgeo.org
Fri Apr 5 14:39:47 PDT 2019


Author: sbl
Date: 2019-04-05 14:39:47 -0700 (Fri, 05 Apr 2019)
New Revision: 74350

Modified:
   grass/trunk/lib/python/gunittest/invoker.py
Log:
fix introduced encode error

Modified: grass/trunk/lib/python/gunittest/invoker.py
===================================================================
--- grass/trunk/lib/python/gunittest/invoker.py	2019-04-05 21:30:30 UTC (rev 74349)
+++ grass/trunk/lib/python/gunittest/invoker.py	2019-04-05 21:39:47 UTC (rev 74350)
@@ -214,9 +214,9 @@
                 pass
                     
         with open(stdout_path, 'w') as stdout_file:
-            stdout_file.write(encode(stdout))
+            stdout_file.write(stdout)
         with open(stderr_path, 'w') as stderr_file:
-            stderr_file.write(encode(stderr))
+            stderr_file.write(stderr)
         self._file_anonymizer.anonymize([stdout_path, stderr_path])
 
         test_summary = update_keyval_file(



More information about the grass-commit mailing list