[3.6] bpo-31380: Skip test_httpservers test_undecodable_file on macOS… · python/cpython@d9cadc5 (original) (raw)
Navigation Menu
- Explore
- Pricing
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Appearance settings
Commit d9cadc5
authored and
committed
[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)
File tree
2 files changed
lines changed
2 files changed
lines changed
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -370,7 +370,8 @@ def close_conn(): | ||
370 | 370 | reader.close() |
371 | 371 | return body |
372 | 372 | |
373 | -@support.requires_mac_ver(10, 5) | |
373 | +@unittest.skipIf(sys.platform == 'darwin', | |
374 | + 'undecodable name cannot always be decoded on macOS') | |
374 | 375 | @unittest.skipIf(sys.platform == 'win32', |
375 | 376 | 'undecodable name cannot be decoded on win32') |
376 | 377 | @unittest.skipUnless(support.TESTFN_UNDECODABLE, |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
1 | +Skip test_httpservers test_undecodable_file on macOS: fails on APFS. |