diff options
author | Ned Deily <nad@python.org> | 2017-12-05 04:42:02 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-05 04:42:02 (GMT) |
commit | b3edde8dd44c878e9f039a2165d00ff075157d4b (patch) | |
tree | 7778a3221d9bca28b86d6b05b9ab78ccc3821712 | |
parent | e6f8a7378d701823c6821217bf7ac8a540ab143b (diff) | |
download | cpython-b3edde8dd44c878e9f039a2165d00ff075157d4b.zip cpython-b3edde8dd44c878e9f039a2165d00ff075157d4b.tar.gz cpython-b3edde8dd44c878e9f039a2165d00ff075157d4b.tar.bz2 |
bpo-31380: Skip test_httpservers test_undecodable_file on macOS. (#4720)
The undecodable file name cannot be created on macOS APFS file systems.
-rw-r--r-- | Lib/test/test_httpservers.py | 3 | ||||
-rw-r--r-- | Misc/NEWS.d/next/Tests/2017-12-04-23-19-16.bpo-31380.VlMmHW.rst | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/Lib/test/test_httpservers.py b/Lib/test/test_httpservers.py index 20e6f66..cc829a5 100644 --- a/Lib/test/test_httpservers.py +++ b/Lib/test/test_httpservers.py @@ -384,7 +384,8 @@ class SimpleHTTPServerTestCase(BaseTestCase): reader.close() return body - @support.requires_mac_ver(10, 5) + @unittest.skipIf(sys.platform == 'darwin', + 'undecodable name cannot always be decoded on macOS') @unittest.skipIf(sys.platform == 'win32', 'undecodable name cannot be decoded on win32') @unittest.skipUnless(support.TESTFN_UNDECODABLE, diff --git a/Misc/NEWS.d/next/Tests/2017-12-04-23-19-16.bpo-31380.VlMmHW.rst b/Misc/NEWS.d/next/Tests/2017-12-04-23-19-16.bpo-31380.VlMmHW.rst new file mode 100644 index 0000000..2baecf5 --- /dev/null +++ b/Misc/NEWS.d/next/Tests/2017-12-04-23-19-16.bpo-31380.VlMmHW.rst @@ -0,0 +1 @@ +Skip test_httpservers test_undecodable_file on macOS: fails on APFS. |