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
|
From: Jakub Wilk <jwilk@debian.org>
Date: Thu, 8 Oct 2015 11:57:06 -0700
Subject: 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.
Forwarded: not-needed
Last-Update: 2012-03-02
---
test/test_writers/test_odt.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/test/test_writers/test_odt.py b/test/test_writers/test_odt.py
index bda1f72..3b626db 100755
--- a/test/test_writers/test_odt.py
+++ b/test/test_writers/test_odt.py
@@ -72,6 +72,7 @@ class DocutilsOdtTestCase(DocutilsTestSupport.StandardTestCase):
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 ' \
|