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 d73a8df714b946e2d211b1ec553369fd8437ee18 Mon Sep 17 00:00:00 2001
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
Patch-Name: no-test-skipping.diff
---
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 845f465..b781558 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 ' \
|