Skip to content

Commit 4290066

Browse files
committed
Polish off #670
1 parent a49a64b commit 4290066

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

newsfragments/670.bugfix.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Update from deprecated pyOpenSSL APIs to non-deprecated cryptography APIs.

src/trustme/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
from contextlib import contextmanager
99
from enum import Enum
1010
from tempfile import NamedTemporaryFile
11-
from typing import TYPE_CHECKING, Generator, List, Optional, Union, cast
11+
from typing import TYPE_CHECKING, Generator, List, Optional, Union
1212

1313
import idna
1414
from cryptography import x509

0 commit comments

Comments
 (0)