[Python-modules-commits] r18584 - in packages/python-docutils/trunk/debian (3 files)
jwilk at users.alioth.debian.org
jwilk at users.alioth.debian.org
Sun Sep 18 00:30:42 UTC 2011
Date: Sunday, September 18, 2011 @ 00:30:39
Author: jwilk
Revision: 18584
When running the test suite, don't copy stdout and stderr output to a log file.
Added:
packages/python-docutils/trunk/debian/patches/testall-no-stdout-stderr-redirect.diff
Modified:
packages/python-docutils/trunk/debian/changelog
packages/python-docutils/trunk/debian/patches/series
Modified: packages/python-docutils/trunk/debian/changelog
===================================================================
--- packages/python-docutils/trunk/debian/changelog 2011-09-17 23:44:49 UTC (rev 18583)
+++ packages/python-docutils/trunk/debian/changelog 2011-09-18 00:30:39 UTC (rev 18584)
@@ -1,3 +1,11 @@
+python-docutils (0.8.1-4) UNRELEASED; urgency=low
+
+ * When running the test suite, don't copy stdout and stderr output to a log
+ file, as this would break under LC_ALL=C, PYTHONWARNING=d and python3.X
+ (testall-no-stdout-stderr-redirect.diff).
+
+ -- Jakub Wilk <jwilk at debian.org> Sun, 18 Sep 2011 02:29:49 +0200
+
python-docutils (0.8.1-3) unstable; urgency=low
* Remove needless comments from debian/rules.
Modified: packages/python-docutils/trunk/debian/patches/series
===================================================================
--- packages/python-docutils/trunk/debian/patches/series 2011-09-17 23:44:49 UTC (rev 18583)
+++ packages/python-docutils/trunk/debian/patches/series 2011-09-18 00:30:39 UTC (rev 18584)
@@ -5,4 +5,5 @@
emacs-sensible-browser.diff
readme-version.diff
languages-get_language-2nd-arg-optional.diff
+testall-no-stdout-stderr-redirect.diff
move-data-to-usr-share.diff
Added: packages/python-docutils/trunk/debian/patches/testall-no-stdout-stderr-redirect.diff
===================================================================
--- packages/python-docutils/trunk/debian/patches/testall-no-stdout-stderr-redirect.diff (rev 0)
+++ packages/python-docutils/trunk/debian/patches/testall-no-stdout-stderr-redirect.diff 2011-09-18 00:30:39 UTC (rev 18584)
@@ -0,0 +1,19 @@
+Description: 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, PYTHONWARNING=d and python3.X.
+Author: Jakub Wilk <jwilk at debian.org>
+Forwarded: not-needed
+Last-Update: 2011-09-18
+
+--- a/test/alltests.py
++++ b/test/alltests.py
+@@ -64,9 +64,6 @@
+ sys.stdout.flush()
+ return suite
+
+-# must redirect stderr *before* first import of unittest
+-sys.stdout = sys.stderr = Tee('alltests.out')
+-
+ import package_unittest
+
+
More information about the Python-modules-commits
mailing list