make runAll combine stderr & stdout
authorrobin
Fri, 27 Aug 2021 16:08:38 +0100
changeset 101 e841d67e0a82
parent 100 2cc4105825d3
child 102 133fbf73e87f
make runAll combine stderr & stdout
test/runAll.py
--- a/test/runAll.py	Fri Aug 27 15:18:01 2021 +0100
+++ b/test/runAll.py	Fri Aug 27 16:08:38 2021 +0100
@@ -1,5 +1,7 @@
 def main():
     import sys, os
+    sys.__old_stderr__ = sys.stderr
+    sys.__stderr__ = sys.stderr = sys.stdout
     wd = os.path.dirname(os.path.abspath(sys.argv[0]))
     sys.path.insert(0,wd)
     os.chdir(wd)