mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-02-25 06:47:27 -08:00
Copyright: Sony Interactive Entertainment Inc. Package-Manager: Portage-2.3.79, Repoman-2.3.18 Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
41 lines
1.5 KiB
Diff
41 lines
1.5 KiB
Diff
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%',
|