Kaydet (Commit) 91f948a7 authored tarafından Sandro Tosi's avatar Sandro Tosi

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

üst a3fbde35
......@@ -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]
......
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