@@ -69,16 +69,16 @@ foo==0.0.3 --hash=sha256:deadbaaf
69
69
--abi=cp39
70
70
71
71
foo==0.0.3 --hash=sha256:deadbaaf
72
- """ ,
73
- "requirements_windows" : """\
74
- foo[extra]==0.0.2 --hash=sha256:deadbeef
75
- bar==0.0.1 --hash=sha256:deadb00f
76
72
""" ,
77
73
"requirements_sdist_different_hashes" : """\
78
74
foo==0.0.1 --hash=sha256:deadbeef --hash=sha256:cafebabe
79
75
""" ,
80
76
"requirements_sdist_different_hashes_linux" : """\
81
77
foo==0.0.1 --hash=sha256:deadbaaf --hash=sha256:cafebabe
78
+ """ ,
79
+ "requirements_windows" : """\
80
+ foo[extra]==0.0.2 --hash=sha256:deadbeef
81
+ bar==0.0.1 --hash=sha256:deadb00f
82
82
""" ,
83
83
}
84
84
@@ -452,22 +452,22 @@ _tests.append(_test_different_package_version)
452
452
def _test_sdist_different_hashes (env ):
453
453
"""Test that sdists with same hash but wheels with different hashes across platforms are handled correctly."""
454
454
455
- def _mock_get_index_urls (_ , distributions ):
455
+ def _mock_get_index_urls (_ , _ ):
456
456
return {
457
457
"foo" : struct (
458
458
whls = {
459
- "deadbeef" : struct (
460
- filename = "foo-0.0.1-py3-none-win_amd64.whl" ,
461
- url = "https://pypi.org/foo-0.0.1-win.whl" ,
462
- sha256 = "deadbeef" ,
463
- yanked = False ,
464
- ),
465
459
"deadbaaf" : struct (
466
460
filename = "foo-0.0.1-py3-none-manylinux_2_17_x86_64.whl" ,
467
461
url = "https://pypi.org/foo-0.0.1-linux.whl" ,
468
462
sha256 = "deadbaaf" ,
469
463
yanked = False ,
470
464
),
465
+ "deadbeef" : struct (
466
+ filename = "foo-0.0.1-py3-none-win_amd64.whl" ,
467
+ url = "https://pypi.org/foo-0.0.1-win.whl" ,
468
+ sha256 = "deadbeef" ,
469
+ yanked = False ,
470
+ ),
471
471
},
472
472
sdists = {
473
473
"cafebabe" : struct (
0 commit comments