Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions cheroot/test/test_ssl.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
IS_LINUX,
IS_MACOS,
IS_PYPY,
IS_SOLARIS,
IS_WINDOWS,
SYS_PLATFORM,
bton,
Expand Down Expand Up @@ -696,6 +697,11 @@ def test_http_over_https_error(
54,
'Connection reset by peer',
)
if 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,
Expand Down
1 change: 1 addition & 0 deletions docs/changelog-fragments.d/776.contrib.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Made ``test_http_over_https_error`` compatible with Solaris -- by :user:`mtelka`.
1 change: 1 addition & 0 deletions docs/spelling_wordlist.txt
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ Sep
sep
signalling
Sigstore
Solaris
ssl
stdout
subclasses
Expand Down
Loading