Skip to content

Commit 630521a

Browse files
authored
Merge pull request #776 from mtelka/test_http_over_https_error
Make `test_http_over_https_error` compatible with Solaris
2 parents 094088f + 3538e73 commit 630521a

File tree

3 files changed

+8
-0
lines changed

3 files changed

+8
-0
lines changed

cheroot/test/test_ssl.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
IS_LINUX,
2525
IS_MACOS,
2626
IS_PYPY,
27+
IS_SOLARIS,
2728
IS_WINDOWS,
2829
SYS_PLATFORM,
2930
bton,
@@ -696,6 +697,11 @@ def test_http_over_https_error(
696697
54,
697698
'Connection reset by peer',
698699
)
700+
elif IS_SOLARIS:
701+
expected_error_code, expected_error_text = (
702+
None,
703+
'Remote end closed connection without response',
704+
)
699705
elif IS_WINDOWS:
700706
expected_error_code, expected_error_text = (
701707
10054,
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Made ``test_http_over_https_error`` compatible with Solaris -- by :user:`mtelka`.

docs/spelling_wordlist.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ Sep
5656
sep
5757
signalling
5858
Sigstore
59+
Solaris
5960
ssl
6061
stdout
6162
subclasses

0 commit comments

Comments
 (0)