diff options
author | Alex Gaynor <alex.gaynor@gmail.com> | 2023-07-22 13:18:18 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-23 05:18:18 +1200 |
commit | 1c2c25ff020da0d46738d58f470ce6bcc686af6d (patch) | |
tree | 099f77e5bc4d05c63676398173265e3465e25bf1 /tests/x509 | |
parent | bb970d830eed837bb00ea675f3fe68b733a864af (diff) | |
download | pyca-cryptography-1c2c25ff020da0d46738d58f470ce6bcc686af6d.zip pyca-cryptography-1c2c25ff020da0d46738d58f470ce6bcc686af6d.tar.gz pyca-cryptography-1c2c25ff020da0d46738d58f470ce6bcc686af6d.tar.bz2 |
style fix for latest ruff (#9279)
Diffstat (limited to 'tests/x509')
-rw-r--r-- | tests/x509/test_x509_ext.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/x509/test_x509_ext.py b/tests/x509/test_x509_ext.py index fd7ff95..7d45d33 100644 --- a/tests/x509/test_x509_ext.py +++ b/tests/x509/test_x509_ext.py @@ -2670,7 +2670,7 @@ class TestRSASubjectAlternativeNameExtension: x509.ObjectIdentifier("1.2.3.4"), b"\x16\x0bHello World" ) assert len(ext.value) == 1 - assert list(ext.value)[0] == expected + assert next(iter(ext.value)) == expected othernames = ext.value.get_values_for_type(x509.OtherName) assert othernames == [expected] |