diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-12-15 18:09:03 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-12-15 18:09:03 +0000 |
commit | 7bc9c63c9da678a7e6fceb095d56c634afd22c56 (patch) | |
tree | 4a67d50a439e9af63947e5f8b6ba3719af98b6c9 /dev-python/docutils/files | |
parent | b284a3168fa91a038925d2ecf5e4791011ea5e7d (diff) |
gentoo resync : 15.12.2019
Diffstat (limited to 'dev-python/docutils/files')
-rw-r--r-- | dev-python/docutils/files/docutils-0.15.2-tests.patch | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/dev-python/docutils/files/docutils-0.15.2-tests.patch b/dev-python/docutils/files/docutils-0.15.2-tests.patch new file mode 100644 index 000000000000..11ccbd01b90e --- /dev/null +++ b/dev-python/docutils/files/docutils-0.15.2-tests.patch @@ -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%', |