Skip to content

Commit b3edde8

Browse files
authored
bpo-31380: Skip test_httpservers test_undecodable_file on macOS. (#4720)
The undecodable file name cannot be created on macOS APFS file systems.
1 parent e6f8a73 commit b3edde8

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
@@ -384,7 +384,8 @@ def close_conn():
384384
reader.close()
385385
return body
386386

387-
@support.requires_mac_ver(10, 5)
387+
@unittest.skipIf(sys.platform == 'darwin',
388+
'undecodable name cannot always be decoded on macOS')
388389
@unittest.skipIf(sys.platform == 'win32',
389390
'undecodable name cannot be decoded on win32')
390391
@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)