Fix Python test scripts for Python 3 and Windows
diff --git a/test/rununittests.py b/test/rununittests.py
index 6279f80..90b7bb9 100644
--- a/test/rununittests.py
+++ b/test/rununittests.py
@@ -31,7 +31,7 @@
if not status:
print("Failed to obtain unit tests list:\n" + test_names, file=sys.stderr)
return 1
- test_names = [name.strip() for name in test_names.strip().split('\n')]
+ test_names = [name.strip() for name in test_names.decode('utf-8').strip().split('\n')]
failures = []
for name in test_names:
print('TESTING %s:' % name, end=' ')