python-setuptools/skip-internet-requiring-tests.patch

24 lines
884 B
Diff
Raw Normal View History

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