You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-python/docutils/files/docutils-0.15.2-tests.patch

41 lines
1.5 KiB

diff -ru docutils-0.15.2.orig/test/test_writers/test_odt.py docutils-0.15.2/test/test_writers/test_odt.py
--- docutils-0.15.2.orig/test/test_writers/test_odt.py 2019-11-25 19:38:23.327374852 -0800
+++ docutils-0.15.2/test/test_writers/test_odt.py 2019-11-25 19:38:13.585433399 -0800
@@ -38,6 +38,7 @@
from __init__ import DocutilsTestSupport
+import unittest
import docutils
import docutils.core
from docutils._compat import BytesIO
@@ -146,12 +147,13 @@
# xxxx is replaced with a name for the new test.
# See instructions above in module doc-string.
#
-
+ @unittest.skipIf(sys.hexversion > 0x308000, "test is buggy on 3.8")
def test_odt_basic(self):
self.process_test('odt_basic.txt', 'odt_basic.odt',
save_output_name='odt_basic.odt'
)
+ @unittest.skipIf(sys.hexversion > 0x308000, "test is buggy on 3.8")
def test_odt_nested_class(self):
self.process_test('odt_nested_class.txt',
'odt_nested_class.odt',
@@ -166,11 +168,13 @@
save_output_name='odt_no_class.odt'
)
+ @unittest.skipIf(sys.hexversion > 0x308000, "test is buggy on 3.8")
def test_odt_tables1(self):
self.process_test('odt_tables1.txt', 'odt_tables1.odt',
save_output_name='odt_tables1.odt'
)
+ @unittest.skipIf(sys.hexversion > 0x308000, "test is buggy on 3.8")
def test_odt_custom_headfoot(self):
settings_overrides = {
'custom_header': 'Page %p% of %P%',