Skip to content

Commit d9cadc5

Browse files
miss-islingtonned-deily
authored andcommitted
[3.6] bpo-31380: Skip test_httpservers test_undecodable_file on macOS. (GH-4720) (#4721)
The undecodable file name cannot be created on macOS APFS file systems. (cherry picked from commit b3edde8)
1 parent e2ba552 commit d9cadc5

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Lib/test/test_httpservers.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,8 @@ def close_conn():
370370
reader.close()
371371
return body
372372

373-
@support.requires_mac_ver(10, 5)
373+
@unittest.skipIf(sys.platform == 'darwin',
374+
'undecodable name cannot always be decoded on macOS')
374375
@unittest.skipIf(sys.platform == 'win32',
375376
'undecodable name cannot be decoded on win32')
376377
@unittest.skipUnless(support.TESTFN_UNDECODABLE,
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Skip test_httpservers test_undecodable_file on macOS: fails on APFS.

0 commit comments

Comments
 (0)