Commit 9a4a7506 authored by Hynek Schlawack's avatar Hynek Schlawack

#15872: More shutil test fixes for Windows

parent 9e8ac56e
......@@ -149,11 +149,11 @@ class TestShutil(unittest.TestCase):
self.assertIs(errors[0][0], os.listdir)
self.assertEqual(errors[0][1], filename)
self.assertIsInstance(errors[0][2][1], OSError)
self.assertEqual(errors[0][2][1].filename, filename)
self.assertEqual(errors[0][2][1].filename, rm_name)
self.assertIs(errors[1][0], os.rmdir)
self.assertEqual(errors[1][1], filename)
self.assertIsInstance(errors[1][2][1], OSError)
self.assertEqual(errors[1][2][1].filename, filename)
self.assertEqual(errors[1][2][1].filename, rm_name)
# See bug #1071513 for why we don't run this on cygwin
# and bug #1076467 for why we don't run this as root.
......
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