summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2022-09-25 10:29:32 -0400
committerGitHub <noreply@github.com>2022-09-25 16:29:32 +0200
commitad50a44a44663de9191317824466e4d86a08031b (patch)
treed33ed7c600c62168c01d07fc91881e40cdb1cdc2 /tests
parentf0ed288747a28a5785d7a62ef9e7afc699674625 (diff)
downloadpyopenssl-ad50a44a44663de9191317824466e4d86a08031b.tar.gz
disallow latest sphinx release because it doesn't work with sphinx_rtd_theme (#1147)
* disallow latest sphinx release because it doesn't work with sphinx_rtd_theme * Update test_ssl.py * black
Diffstat (limited to 'tests')
-rw-r--r--tests/test_ssl.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test_ssl.py b/tests/test_ssl.py
index 39d3af5..6fe1c1a 100644
--- a/tests/test_ssl.py
+++ b/tests/test_ssl.py
@@ -218,6 +218,8 @@ def socket_pair():
client.setblocking(True)
server = port.accept()[0]
+ port.close()
+
# Let's pass some unencrypted data to make sure our socket connection is
# fine. Just one byte, so we don't have to worry about buffers getting
# filled up or fragmentation.