diff --git a/cheroot/test/test_ssl.py b/cheroot/test/test_ssl.py index 9f93820320..7fbbe2b229 100644 --- a/cheroot/test/test_ssl.py +++ b/cheroot/test/test_ssl.py @@ -24,6 +24,7 @@ IS_LINUX, IS_MACOS, IS_PYPY, + IS_SOLARIS, IS_WINDOWS, SYS_PLATFORM, bton, @@ -696,6 +697,11 @@ def test_http_over_https_error( 54, 'Connection reset by peer', ) + elif IS_SOLARIS: + expected_error_code, expected_error_text = ( + None, + 'Remote end closed connection without response', + ) elif IS_WINDOWS: expected_error_code, expected_error_text = ( 10054, diff --git a/docs/changelog-fragments.d/776.contrib.rst b/docs/changelog-fragments.d/776.contrib.rst new file mode 100644 index 0000000000..65a5be97f6 --- /dev/null +++ b/docs/changelog-fragments.d/776.contrib.rst @@ -0,0 +1 @@ +Made ``test_http_over_https_error`` compatible with Solaris -- by :user:`mtelka`. diff --git a/docs/spelling_wordlist.txt b/docs/spelling_wordlist.txt index babf54bb1e..1e1022c82f 100644 --- a/docs/spelling_wordlist.txt +++ b/docs/spelling_wordlist.txt @@ -56,6 +56,7 @@ Sep sep signalling Sigstore +Solaris ssl stdout subclasses