Skip to content

Commit

Permalink
tests: fix test_tcp_ssl_version_mismatch
Browse files Browse the repository at this point in the history
It was broken since 7783e0b. This change was added there by mistake and
in fact didn't change anything for Python 3.12. Instead, it seems to
have hidden a bug that revealed itself with Python 3.13.

This commit reverts the change that broke the test.

Signed-off-by: Mikhail Koviazin <mikhail.koviazin@aiven.io>
  • Loading branch information
mkmkme committed Nov 25, 2024
1 parent 9de02ae commit a53f2a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_connect.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ def test_tcp_ssl_version_mismatch(tcp_address):
tcp_address,
certfile=certfile,
keyfile=keyfile,
ssl_version=ssl.TLSVersion.TLSv1_3,
ssl_version=ssl.TLSVersion.TLSv1_2,
)


Expand Down

0 comments on commit a53f2a6

Please sign in to comment.