Skip to content

Commit 2794782

Browse files
committed
import and package changes
1 parent 11c5dff commit 2794782

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,6 @@
4848
],
4949
extras_require={
5050
"hiredis": ["hiredis>=1.0.0"],
51-
"cryptography": ["cryptography>=36.0.1", "requests>2.26.0"],
51+
"cryptography": ["cryptography>=36.0.1", "requests>=2.26.0"],
5252
},
5353
)

tests/test_ssl.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77

88
import redis
99
from redis.exceptions import ConnectionError, RedisError
10-
from redis.ocsp import OCSPVerifier
1110

1211
from .conftest import skip_if_cryptography, skip_if_nocryptography
1312

@@ -149,6 +148,7 @@ def test_ocsp_not_present_in_response(self):
149148

150149
@skip_if_nocryptography()
151150
def test_unauthorized_then_direct(self):
151+
from redis.ocsp import OCSPVerifier
152152

153153
# these certificates on the socket end return unauthorized
154154
# then the second call succeeds

0 commit comments

Comments
 (0)