Kaydet (Commit) 41ae5591 authored tarafından Brett Cannon's avatar Brett Cannon

Issue #27186: skip bytes path test for os.scandir() on Windows

üst f84f259b
......@@ -2953,6 +2953,7 @@ class TestScandir(unittest.TestCase):
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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment