[Python-modules-commits] r20639 - in packages/python-docutils/trunk/debian (3 files)
jwilk at users.alioth.debian.org
jwilk at users.alioth.debian.org
Fri Mar 2 00:42:04 UTC 2012
Date: Friday, March 2, 2012 @ 00:42:01
Author: jwilk
Revision: 20639
Do not skip tests.
Added:
packages/python-docutils/trunk/debian/patches/no-test-skipping.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 2012-03-02 00:14:18 UTC (rev 20638)
+++ packages/python-docutils/trunk/debian/changelog 2012-03-02 00:42:01 UTC (rev 20639)
@@ -5,8 +5,10 @@
* Don't mention âDive Into Pythonâ in python*-roman package descriptions
(closes: #661555). Thanks to Konrad Schöbel for the bug report.
* Remove references to http://diveintopython.org/ from debian/copyright.
+ * Do not skip tests because of failed imports, as they should never happen.
+ (no-test-skipping.diff)
- -- Jakub Wilk <jwilk at debian.org> Wed, 29 Feb 2012 00:18:37 +0100
+ -- Jakub Wilk <jwilk at debian.org> Fri, 02 Mar 2012 01:39:17 +0100
python-docutils (0.8.1-5) unstable; urgency=low
Added: packages/python-docutils/trunk/debian/patches/no-test-skipping.diff
===================================================================
--- packages/python-docutils/trunk/debian/patches/no-test-skipping.diff (rev 0)
+++ packages/python-docutils/trunk/debian/patches/no-test-skipping.diff 2012-03-02 00:42:01 UTC (rev 20639)
@@ -0,0 +1,17 @@
+Description: Do not skip tests.
+ If Build-Depends are satisfied, importing ElementTree should not fail. If it
+ does, it's better to fail than to skip the test silently.
+Author: Jakub Wilk <jwilk at debian.org>
+Forwarded: not-needed
+Last-Update: 2012-03-02
+
+--- a/test/test_writers/test_odt.py
++++ b/test/test_writers/test_odt.py
+@@ -74,6 +74,7 @@
+ from elementtree import ElementTree as etree
+ WhichElementTree = 'elementtree'
+ except ImportError, e:
++ raise
+ s1 = '\nSkipped test of odf_odt writer. ' \
+ 'In order to test odf_odt writer ' \
+ 'must install either a version of Python containing ' \
Modified: packages/python-docutils/trunk/debian/patches/series
===================================================================
--- packages/python-docutils/trunk/debian/patches/series 2012-03-02 00:14:18 UTC (rev 20638)
+++ packages/python-docutils/trunk/debian/patches/series 2012-03-02 00:42:01 UTC (rev 20639)
@@ -10,4 +10,5 @@
fix-error-reporting-encoding-issues.diff
fix-io-encoding-issues.diff
fix-docutilsxmltestcase.diff
+no-test-skipping.diff
move-data-to-usr-share.diff
More information about the Python-modules-commits
mailing list