File: no-test-skipping.diff

package info (click to toggle)
python-docutils 0.12%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 8,108 kB
  • ctags: 7,367
  • sloc: python: 41,778; lisp: 8,644; sh: 164; makefile: 148; xml: 34
file content (17 lines) | stat: -rw-r--r-- 742 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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@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 ' \