File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 7
7
8
8
@pytest .fixture ()
9
9
def make_fake_wheel (script ):
10
-
11
10
def _make_fake_wheel (wheel_tag ):
12
11
wheel_house = script .scratch_path .joinpath ("wheelhouse" )
13
12
wheel_house .mkdir ()
@@ -39,8 +38,10 @@ def test_new_resolver_target_checks_compatibility_failure(
39
38
args = [
40
39
"install" ,
41
40
"--only-binary=:all:" ,
42
- "--no-cache-dir" , "--no-index" ,
43
- "--target" , str (script .scratch_path .joinpath ("target" )),
41
+ "--no-cache-dir" ,
42
+ "--no-index" ,
43
+ "--target" ,
44
+ str (script .scratch_path .joinpath ("target" )),
44
45
make_fake_wheel (fake_wheel_tag ),
45
46
]
46
47
if implementation :
@@ -58,7 +59,7 @@ def test_new_resolver_target_checks_compatibility_failure(
58
59
abi ,
59
60
platform ,
60
61
)
61
- wheel_tag_matches = ( args_tag == fake_wheel_tag )
62
+ wheel_tag_matches = args_tag == fake_wheel_tag
62
63
63
64
result = script .pip (* args , expect_error = (not wheel_tag_matches ))
64
65
You can’t perform that action at this time.
0 commit comments