Skip to content

Commit d8e7826

Browse files
committed
update test_wheel_policies_args
1 parent 8a0413f commit d8e7826

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

tests/unit/test_policy.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -244,12 +244,10 @@ def test_filter_libs(self):
244244
def test_wheel_policies_args(libc, musl_policy, arch, exception):
245245
with exception:
246246
policies = WheelPolicies(libc=libc, musl_policy=musl_policy, arch=arch)
247-
if libc is not None:
248-
assert policies._libc_variant == libc
247+
assert policies.libc == libc
248+
assert policies.architecture == arch
249249
if musl_policy is not None:
250250
assert policies._musl_policy == musl_policy
251-
if arch is not None:
252-
assert policies.architecture == arch
253251

254252

255253
def test_policy_checks_glibc():

0 commit comments

Comments
 (0)