From 9a4a750673ca6d93c635a32d84b2cf94ebc4931c Mon Sep 17 00:00:00 2001 From: Hynek Schlawack Date: Mon, 10 Dec 2012 11:08:09 +0100 Subject: #15872: More shutil test fixes for Windows --- Lib/test/test_shutil.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Lib/test/test_shutil.py b/Lib/test/test_shutil.py index 9dab5f5..1eb5e89 100644 --- a/Lib/test/test_shutil.py +++ b/Lib/test/test_shutil.py @@ -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. -- cgit v0.12