summaryrefslogtreecommitdiff
path: root/tests/x509/test_ocsp.py
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2021-02-11 13:56:46 -0500
committerGitHub <noreply@github.com>2021-02-11 12:56:46 -0600
commit5511445e95a16fa12b464d57ace4bb17855fe844 (patch)
tree4f9acb5371a53670664d38f64ef6cf59cbf5bbd4 /tests/x509/test_ocsp.py
parent9efc6d46fb98a52a9bb956096a9389f21bd8de92 (diff)
downloadcryptography-master.tar.gz
Start typing a bunch of stuff from x509 extensions (#5812)master
Diffstat (limited to 'tests/x509/test_ocsp.py')
-rw-r--r--tests/x509/test_ocsp.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/x509/test_ocsp.py b/tests/x509/test_ocsp.py
index 5793f6d62..5d9da790a 100644
--- a/tests/x509/test_ocsp.py
+++ b/tests/x509/test_ocsp.py
@@ -726,7 +726,9 @@ class TestOCSPResponseBuilder(object):
class TestSignedCertificateTimestampsExtension(object):
def test_init(self):
with pytest.raises(TypeError):
- x509.SignedCertificateTimestamps([object()])
+ x509.SignedCertificateTimestamps(
+ [object()] # type: ignore[list-item]
+ )
def test_repr(self):
assert repr(x509.SignedCertificateTimestamps([])) == (