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