]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
#12191: fix build failures, explicitly passing group argument when I want to test it
authorSandro Tosi <sandro.tosi@gmail.com>
Mon, 22 Aug 2011 21:55:39 +0000 (23:55 +0200)
committerSandro Tosi <sandro.tosi@gmail.com>
Mon, 22 Aug 2011 21:55:39 +0000 (23:55 +0200)
Lib/test/test_shutil.py

index 9f61ef7f286fba8319185c1fa97ce7aba24e497b..b16980393ce7858445a4f11994ecd155990bbf53 100644 (file)
@@ -753,7 +753,7 @@ class TestShutil(unittest.TestCase):
         shutil.chown(filename, user=uid)
         check_chown(filename, uid)
         shutil.chown(filename, group=gid)
-        check_chown(filename, gid)
+        check_chown(filename, gid=gid)
 
         shutil.chown(dirname, uid, gid)
         check_chown(dirname, uid, gid)
@@ -762,7 +762,7 @@ class TestShutil(unittest.TestCase):
         shutil.chown(dirname, user=uid)
         check_chown(dirname, uid)
         shutil.chown(dirname, group=gid)
-        check_chown(dirname, gid)
+        check_chown(dirname, gid=gid)
 
         user = pwd.getpwuid(uid)[0]
         group = grp.getgrgid(gid)[0]