python-setuptools/skip-internet-requiring-tests.patch
Honza Horak f8cc85548f Replace whole repo with latest content from branch rhel-8.8.0
Content corresponds with RHEL dist-git commit ce7de41
2023-05-15 16:37:34 +02: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