| 1 |
From: Jakub Wilk <[email protected]> |
| 2 |
Date: Thu, 8 Oct 2015 11:57:05 -0700 |
| 3 |
Subject: Don't copy test suite output to a log. |
| 4 |
|
| 5 |
When running the test suite, don't copy stdout and stderr output to a log |
| 6 |
file, as this would break under LC_ALL=C, PYTHONWARNINGS=d and python3.X. |
| 7 |
|
| 8 |
Forwarded: not-needed |
| 9 |
Last-Update: 2011-09-18 |
| 10 |
--- |
| 11 |
test/alltests.py | 3 --- |
| 12 |
1 file changed, 3 deletions(-) |
| 13 |
|
| 14 |
diff --git a/test/alltests.py b/test/alltests.py |
| 15 |
index 2a32f53..d8f1f6c 100755 |
| 16 |
--- a/test/alltests.py |
| 17 |
+++ b/test/alltests.py |
| 18 |
@@ -74,9 +74,6 @@ class Tee: |
| 19 |
self.file.flush() |
| 20 |
|
| 21 |
|
| 22 |
-# must redirect stderr *before* first import of unittest |
| 23 |
-sys.stdout = sys.stderr = Tee('alltests.out') |
| 24 |
- |
| 25 |
import unittest # NoQA: E402 |
| 26 |
|
| 27 |
|