#12191: fix build failures, explicitly passing group argument when I want to test it

This commit is contained in:
Sandro Tosi 2011-08-22 23:55:39 +02:00
parent a3fbde3504
commit 91f948a734
1 changed files with 2 additions and 2 deletions

View 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]