Files
gentoo/dev-python/m2r/files/m2r-0.2.1-tests-network.patch
Patrick McLean 0bc63330fa dev-python/m2r-0.2.1: bump, add py38 and pypy3
Copyright: Sony Interactive Entertainment Inc.
Package-Manager: Portage-2.3.79, Repoman-2.3.18
Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
2019-11-27 14:50:12 -08:00

29 lines
1019 B
Diff

diff --git a/tests/test_cli.py b/tests/test_cli.py
index e53e209..4dff652 100644
--- a/tests/test_cli.py
+++ b/tests/test_cli.py
@@ -5,6 +5,7 @@ from __future__ import print_function, unicode_literals
import sys
import os
+import unittest
from os import path
from copy import copy
from unittest import TestCase
@@ -127,6 +128,7 @@ class TestConvert(TestCase):
self.assertIn('__content__', m.call_args[0][0])
self.assertNotIn('**content**', m.call_args[0][0])
+ @unittest.skip("needs internet access")
def test_anonymous_reference_option(self):
sys.argv = [
sys.argv[0], '--anonymous-references', '--dry-run', test_md]
@@ -135,6 +137,7 @@ class TestConvert(TestCase):
self.assertIn("`A link to GitHub <http://github.com/>`__",
m.call_args[0][0])
+ @unittest.skip("test seems to be broken")
def test_disable_inline_math(self):
sys.argv = [
sys.argv[0], '--disable-inline-math', '--dry-run', test_md]