changeset: 101956:6a35aa1995ab user: Brett Cannon date: Sun Jun 12 11:11:20 2016 -0700 files: Lib/test/test_os.py description: Issue #27186: skip bytes path test for os.scandir() on Windows diff -r 7d648e17989f -r 6a35aa1995ab Lib/test/test_os.py --- a/Lib/test/test_os.py Sun Jun 12 19:18:17 2016 +0300 +++ b/Lib/test/test_os.py Sun Jun 12 11:11:20 2016 -0700 @@ -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)