From bd4112ffa6b42873e8bc91ed2aadb8dae801c6e2 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 2 Apr 2024 16:20:34 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- cheroot/test/test_ssl.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cheroot/test/test_ssl.py b/cheroot/test/test_ssl.py index 047da4db36..3048d3aede 100644 --- a/cheroot/test/test_ssl.py +++ b/cheroot/test/test_ssl.py @@ -597,9 +597,9 @@ def test_https_over_http_error(http_server, ip_addr): ), ).request('GET', '/') expected_substring = ( - 'record layer failure' if IS_OPENSSL3 - else 'wrong version number' if IS_ABOVE_OPENSSL10 - else 'unknown protocol' + 'record layer failure' if IS_OPENSSL3 + else 'wrong version number' if IS_ABOVE_OPENSSL10 + else 'unknown protocol' ) assert expected_substring in ssl_err.value.args[-1]