[Python-checkins] bpo-31380: Skip test_httpservers test_undecodable_file on macOS. (#4720)
Ned Deily
webhook-mailer at python.org
Mon Dec 4 23:42:05 EST 2017
https://github.com/python/cpython/commit/b3edde8dd44c878e9f039a2165d00ff075157d4b
commit: b3edde8dd44c878e9f039a2165d00ff075157d4b
branch: master
author: Ned Deily <nad at python.org>
committer: GitHub <noreply at github.com>
date: 2017-12-04T23:42:02-05:00
summary:
bpo-31380: Skip test_httpservers test_undecodable_file on macOS. (#4720)
The undecodable file name cannot be created on macOS APFS file systems.
files:
A Misc/NEWS.d/next/Tests/2017-12-04-23-19-16.bpo-31380.VlMmHW.rst
M Lib/test/test_httpservers.py
diff --git a/Lib/test/test_httpservers.py b/Lib/test/test_httpservers.py
index 20e6f66766f..cc829a522b8 100644
--- a/Lib/test/test_httpservers.py
+++ b/Lib/test/test_httpservers.py
@@ -384,7 +384,8 @@ def close_conn():
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 00000000000..2baecf5adcf
--- /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.
More information about the Python-checkins
mailing list