about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/pypandoc/new-pandoc-headings.patch
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/pypandoc/new-pandoc-headings.patch')
-rw-r--r--nixpkgs/pkgs/development/python-modules/pypandoc/new-pandoc-headings.patch22
1 files changed, 0 insertions, 22 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/pypandoc/new-pandoc-headings.patch b/nixpkgs/pkgs/development/python-modules/pypandoc/new-pandoc-headings.patch
deleted file mode 100644
index 6716bf57d1bb..000000000000
--- a/nixpkgs/pkgs/development/python-modules/pypandoc/new-pandoc-headings.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-diff --git a/tests.py b/tests.py
-index aede281..c400888 100755
---- a/tests.py
-+++ b/tests.py
-@@ -295,7 +295,7 @@ class TestPypandoc(unittest.TestCase):
- 
-     def test_unicode_input(self):
-         # make sure that pandoc always returns unicode and does not mishandle it
--        expected = u'üäöîôû{0}======{0}{0}'.format(os.linesep)
-+        expected = u'# üäöîôû'.format(os.linesep)
-         written = pypandoc.convert_text(u'<h1>üäöîôû</h1>', 'md', format='html')
-         self.assertTrue(isinstance(written, unicode_type))
-         self.assertEqualExceptForNewlineEnd(expected, written)
-@@ -305,7 +305,7 @@ class TestPypandoc(unittest.TestCase):
-         self.assertTrue(isinstance(written, unicode_type))
- 
-         # Only use german umlauts in th next test, as iso-8859-15 covers that
--        expected = u'üäö€{0}===={0}{0}'.format(os.linesep)
-+        expected = u'# üäö€'.format(os.linesep)
-         bytes = u'<h1>üäö€</h1>'.encode("iso-8859-15")
- 
-         # Without encoding, this fails as we expect utf-8 per default