[Python-modules-commits] [python-docutils] 06/14: Do not skip tests.

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 d73a8df714b946e2d211b1ec553369fd8437ee18
Author: Jakub Wilk <jwilk at debian.org>
Date:   Thu Oct 8 11:57:06 2015 -0700

    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 ' \

-- 
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