diff --git a/product/ERP5Type/tests/runUnitTest.py b/product/ERP5Type/tests/runUnitTest.py index 33e57c173f5ed97d5c674e350a3f3516dcbea5ec..382e5017d7067a289732dc2451d9a2e12315b9c9 100755 --- a/product/ERP5Type/tests/runUnitTest.py +++ b/product/ERP5Type/tests/runUnitTest.py @@ -346,11 +346,9 @@ def main(): sys.exit(len(result.failures) + len(result.errors)) if __name__ == '__main__': - # Force stdin, stdout and stderr to be totally unbuffered. + # Force stdout to be totally unbuffered. try: - sys.stdin = os.fdopen(0, "rb", 0) sys.stdout = os.fdopen(1, "wb", 0) - sys.stderr = os.fdopen(2, "wb", 0) except OSError: pass