We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent df30b78 commit 02eda54Copy full SHA for 02eda54
tests/test_ssl.py
@@ -125,16 +125,6 @@
125
_make_requires,
126
)
127
128
-try:
129
- from OpenSSL.SSL import (
130
- SSL_ST_BEFORE,
131
- SSL_ST_INIT,
132
- SSL_ST_OK,
133
- SSL_ST_RENEGOTIATE,
134
- )
135
-except ImportError:
136
- SSL_ST_INIT = SSL_ST_BEFORE = SSL_ST_OK = SSL_ST_RENEGOTIATE = None
137
-
138
from .test_crypto import (
139
client_cert_pem,
140
client_key_pem,
@@ -4093,15 +4083,6 @@ def test_integers(self) -> None:
4093
4083
]:
4094
4084
assert isinstance(const, int)
4095
4085
4096
- # These constants don't exist on OpenSSL 1.1.0
4097
- for const in [
4098
4099
4100
4101
4102
- ]:
4103
- assert const is None or isinstance(const, int)
4104
4105
4086
4106
4087
class TestRequires:
4107
4088
"""
0 commit comments