python-setuptools/skip-internet-requiring-tests.patch
Charalampos Stratakis 70bb4d58ff Mark tests that require an active internet connection
as expected failures.

Remove obsolete patch.
2018-01-03 14:08:00 +01:00

24 lines
884 B
Diff

diff --git a/setuptools/tests/test_egg_info.py b/setuptools/tests/test_egg_info.py
index 66ca916..75472d2 100644
--- a/setuptools/tests/test_egg_info.py
+++ b/setuptools/tests/test_egg_info.py
@@ -233,8 +233,10 @@ class TestEggInfo(object):
'''
install_requires_deterministic
+ @xfail
install_requires=["fake-factory==0.5.2", "pytz"]
+ @xfail
[options]
install_requires =
fake-factory==0.5.2
@@ -393,6 +395,7 @@ class TestEggInfo(object):
assert install_requires.lstrip() == expected_requires
assert glob.glob(os.path.join(env.paths['lib'], 'barbazquux*')) == []
+ @pytest.mark.xfail(reason="Test requires an internet connection")
def test_install_requires_unordered_disallowed(self, tmpdir_cwd, env):
"""
Packages that pass unordered install_requires sequences