Skip to content

Commit 0b5b417

Browse files
committed
Mark tests that may depend on external network
1 parent a4fa01d commit 0b5b417

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

setuptools/tests/test_core_metadata.py

+2
Original file line numberDiff line numberDiff line change
@@ -378,6 +378,7 @@ def dist(self, request, monkeypatch, tmp_path):
378378
config = retrieve_file(request.param)
379379
yield setupcfg.apply_configuration(Distribution({}), config)
380380

381+
@pytest.mark.uses_network
381382
def test_equivalent_output(self, tmp_path, dist):
382383
"""Ensure output from setuptools is equivalent to the one from `pypa/wheel`"""
383384
# Generate a METADATA file using pypa/wheel for comparison
@@ -455,6 +456,7 @@ def _normalize_metadata(msg: Message) -> str:
455456
del msg["Requires-Dist"]
456457
del msg["Provides-Extra"]
457458

459+
# Ensure consistent ord
458460
for req in sorted(reqs):
459461
msg["Requires-Dist"] = req
460462
for extra in sorted(extras):

0 commit comments

Comments
 (0)