Skip to content

Commit

Permalink
Remove a bunch of tests for contents that haven't existed in years
Browse files Browse the repository at this point in the history
  • Loading branch information
alex authored Jan 8, 2025
1 parent 67d973a commit eb90f4f
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions tests/test_ssl.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,16 +125,6 @@
_make_requires,
)

try:
from OpenSSL.SSL import (
SSL_ST_BEFORE,
SSL_ST_INIT,
SSL_ST_OK,
SSL_ST_RENEGOTIATE,
)
except ImportError:
SSL_ST_INIT = SSL_ST_BEFORE = SSL_ST_OK = SSL_ST_RENEGOTIATE = None

from .test_crypto import (
client_cert_pem,
client_key_pem,
Expand Down Expand Up @@ -4093,15 +4083,6 @@ def test_integers(self) -> None:
]:
assert isinstance(const, int)

# These constants don't exist on OpenSSL 1.1.0
for const in [
SSL_ST_INIT,
SSL_ST_BEFORE,
SSL_ST_OK,
SSL_ST_RENEGOTIATE,
]:
assert const is None or isinstance(const, int)


class TestRequires:
"""
Expand Down

0 comments on commit eb90f4f

Please sign in to comment.