depot/third_party/nixpkgs/pkgs/development/python-modules/pypandoc/skip-tests.patch
Default email 1a0302a145 Project import generated by Copybara.
GitOrigin-RevId: 311ceed827f531f88f46222920cd1ebb2c101f73
2021-04-12 20:23:04 +02:00

20 lines
865 B
Diff

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']