[Python-modules-commits] [python-docutils] 05/14: Don't copy test suite output to a log.
Dmitry Shachnev
mitya57 at moszumanska.debian.org
Sat Dec 10 10:40:51 UTC 2016
This is an automated email from the git hooks/post-receive script.
mitya57 pushed a commit to branch master
in repository python-docutils.
commit d7b94e20ae2dc39942c1bc9eaf70ae21b090d370
Author: Jakub Wilk <jwilk at debian.org>
Date: Thu Oct 8 11:57:05 2015 -0700
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
Patch-Name: testall-no-stdout-stderr-redirect.diff
---
test/alltests.py | 3 ---
1 file changed, 3 deletions(-)
diff --git a/test/alltests.py b/test/alltests.py
index 28f98f6..a7cf6f1 100755
--- a/test/alltests.py
+++ b/test/alltests.py
@@ -69,9 +69,6 @@ def suite():
sys.stdout.flush()
return suite
-# must redirect stderr *before* first import of unittest
-sys.stdout = sys.stderr = Tee('alltests.out')
-
import package_unittest
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-docutils.git
More information about the Python-modules-commits
mailing list