Skip to content

Commit 23fc9d9

Browse files
committed
Skip test_local_unknown_cert to avoid CI failure
1 parent 977321e commit 23fc9d9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Lib/test/test_httplib.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import sys
12
import errno
23
from http import client, HTTPStatus
34
import io
@@ -1781,6 +1782,7 @@ def test_networked_bad_cert(self):
17811782

17821783
# TODO: RUSTPYTHON
17831784
@unittest.expectedFailure
1785+
@unittest.skipIf(sys.platform == 'darwin', 'Occasionally success on macOS')
17841786
def test_local_unknown_cert(self):
17851787
# The custom cert isn't known to the default trust bundle
17861788
import ssl

0 commit comments

Comments
 (0)