[Python-checkins] cpython: Issue #27186: skip bytes path test for os.scandir() on Windows
brett.cannon
python-checkins at python.org
Sun Jun 12 14:11:24 EDT 2016
https://hg.python.org/cpython/rev/6a35aa1995ab
changeset: 101956:6a35aa1995ab
user: Brett Cannon <brett at python.org>
date: Sun Jun 12 11:11:20 2016 -0700
summary:
Issue #27186: skip bytes path test for os.scandir() on Windows
files:
Lib/test/test_os.py | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/Lib/test/test_os.py b/Lib/test/test_os.py
--- a/Lib/test/test_os.py
+++ b/Lib/test/test_os.py
@@ -2953,6 +2953,7 @@
entry = self.create_file_entry()
self.assertEqual(os.fspath(entry), os.path.join(self.path, 'file.txt'))
+ @unittest.skipIf(sys.platform == "nt", "test requires bytes path support")
def test_fspath_protocol_bytes(self):
bytes_filename = os.fsencode('bytesfile.txt')
bytes_entry = self.create_file_entry(name=bytes_filename)
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list