Skip to content

Commit a3718c8

Browse files
committed
Slightly change test, so that we are sure about the correct distribution being found
1 parent 23b73aa commit a3718c8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

pkg_resources/tests/test_pkg_resources.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -453,11 +453,11 @@ def fake_site_packages(self, tmp_path, monkeypatch, dist_files):
453453
""",
454454
"pkg3_mod.egg-info/PKG-INFO": """
455455
Name: pkg3.mod
456-
Version: 1.2.3
456+
Version: 1.2.3.4
457457
""",
458458
"pkg4.mod.egg-info/PKG-INFO": """
459459
Name: pkg4.mod
460-
Version: 0.42
460+
Version: 0.42.1
461461
""",
462462
}
463463

@@ -466,8 +466,8 @@ def fake_site_packages(self, tmp_path, monkeypatch, dist_files):
466466
[
467467
("pkg1.mod", "1.2.3", "pkg1.mod>=1"),
468468
("pkg2.mod", "0.42", "pkg2.mod>=0.4"),
469-
("pkg3.mod", "1.2.3", "pkg3.mod<=2"),
470-
("pkg4.mod", "0.42", "pkg4.mod>0.2,<1"),
469+
("pkg3.mod", "1.2.3.4", "pkg3.mod<=2"),
470+
("pkg4.mod", "0.42.1", "pkg4.mod>0.2,<1"),
471471
],
472472
)
473473
def test_require_normalised_name(self, tmp_path, monkeypatch, name, version, req):

0 commit comments

Comments
 (0)