depot/third_party/nixpkgs/pkgs/development/python-modules/pypandoc/skip-tests.patch

21 lines
865 B
Diff
Raw Normal View History

diff --git a/tests.py b/tests.py
index deb50e0..aede281 100755
--- a/tests.py
+++ b/tests.py
@@ -179,6 +179,7 @@ class TestPypandoc(unittest.TestCase):
received = pypandoc.convert_file(file_url, 'rst')
self.assertEqualExceptForNewlineEnd(expected, received)
+ @unittest.skip("no network access during checkPhase")
def test_basic_conversion_from_http_url(self):
url = 'https://raw.githubusercontent.com/bebraw/pypandoc/master/README.md'
received = pypandoc.convert_file(url, 'html')
@@ -247,6 +248,7 @@ class TestPypandoc(unittest.TestCase):
self.assertRaises(RuntimeError, f)
+ @unittest.skip("pandoc-citeproc has been deprecated")
def test_conversion_with_citeproc_filter(self):
# we just want to get a temp file name, where we can write to
filters = ['pandoc-citeproc']