diff options
author | Guido van Rossum <guido@python.org> | 2007-02-11 18:54:18 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2007-02-11 18:54:18 (GMT) |
commit | 9afbb4e364e087a097610e9da47362518020cc2a (patch) | |
tree | 1aa8d32d9afcd88226af4831ebd4fbda07b4c209 /Lib | |
parent | cd70eee24469b91d85bd66e31c44aad76d22f93a (diff) | |
download | cpython-9afbb4e364e087a097610e9da47362518020cc2a.zip cpython-9afbb4e364e087a097610e9da47362518020cc2a.tar.gz cpython-9afbb4e364e087a097610e9da47362518020cc2a.tar.bz2 |
Two more trivial fixes.
Diffstat (limited to 'Lib')
-rwxr-xr-x | Lib/test/test_grp.py | 2 | ||||
-rw-r--r-- | Lib/test/test_pwd.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_grp.py b/Lib/test/test_grp.py index 08958ba..337f057 100755 --- a/Lib/test/test_grp.py +++ b/Lib/test/test_grp.py @@ -50,7 +50,7 @@ class GroupDatabaseTestCase(unittest.TestCase): bynames[n] = g bygids[g] = n - allnames = bynames.keys() + allnames = list(bynames.keys()) namei = 0 fakename = allnames[namei] while fakename in bynames: diff --git a/Lib/test/test_pwd.py b/Lib/test/test_pwd.py index 12d2bc9..375b2e9 100644 --- a/Lib/test/test_pwd.py +++ b/Lib/test/test_pwd.py @@ -55,7 +55,7 @@ class PwdTest(unittest.TestCase): bynames[n] = u byuids[u] = n - allnames = bynames.keys() + allnames = list(bynames.keys()) namei = 0 fakename = allnames[namei] while fakename in bynames: |