mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-30 10:38:07 -07:00
dev-python/docutils-0.15.2: Bump, add py38
Copyright: Sony Interactive Entertainment Inc. Package-Manager: Portage-2.3.79, Repoman-2.3.18 Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
This commit is contained in:
committed by
Patrick McLean
parent
ae3cb2d827
commit
41708338e4
40
dev-python/docutils/files/docutils-0.15.2-tests.patch
Normal file
40
dev-python/docutils/files/docutils-0.15.2-tests.patch
Normal file
@@ -0,0 +1,40 @@
|
||||
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%',
|
||||
Reference in New Issue
Block a user