From ad50a44a44663de9191317824466e4d86a08031b Mon Sep 17 00:00:00 2001 From: Alex Gaynor Date: Sun, 25 Sep 2022 10:29:32 -0400 Subject: [PATCH] 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 --- setup.py | 2 +- tests/test_ssl.py | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 67e018b5e..f46642fbb 100644 --- a/setup.py +++ b/setup.py @@ -100,6 +100,6 @@ def find_meta(meta): ], extras_require={ "test": ["flaky", "pretend", "pytest>=3.0.1"], - "docs": ["sphinx", "sphinx_rtd_theme"], + "docs": ["sphinx!=5.2.0,!=5.2.0.post0", "sphinx_rtd_theme"], }, ) diff --git a/tests/test_ssl.py b/tests/test_ssl.py index 39d3af525..6fe1c1ac2 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.