summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSandro Tosi <sandro.tosi@gmail.com>2011-08-22 21:55:39 (GMT)
committerSandro Tosi <sandro.tosi@gmail.com>2011-08-22 21:55:39 (GMT)
commit91f948a734f40ec958443520f0415a0f58a51660 (patch)
tree54fa7d6c722186ee0fb55072bc79d87c1e45ce7c
parenta3fbde3504a44f3c645748b9f9ead59a23784a3b (diff)
downloadcpython-91f948a734f40ec958443520f0415a0f58a51660.zip
cpython-91f948a734f40ec958443520f0415a0f58a51660.tar.gz
cpython-91f948a734f40ec958443520f0415a0f58a51660.tar.bz2
#12191: fix build failures, explicitly passing group argument when I want to test it
-rw-r--r--Lib/test/test_shutil.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_shutil.py b/Lib/test/test_shutil.py
index 9f61ef7..b169803 100644
--- a/Lib/test/test_shutil.py
+++ b/Lib/test/test_shutil.py
@@ -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]