summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_pwd.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2007-02-11 18:54:18 (GMT)
committerGuido van Rossum <guido@python.org>2007-02-11 18:54:18 (GMT)
commit9afbb4e364e087a097610e9da47362518020cc2a (patch)
tree1aa8d32d9afcd88226af4831ebd4fbda07b4c209 /Lib/test/test_pwd.py
parentcd70eee24469b91d85bd66e31c44aad76d22f93a (diff)
downloadcpython-9afbb4e364e087a097610e9da47362518020cc2a.zip
cpython-9afbb4e364e087a097610e9da47362518020cc2a.tar.gz
cpython-9afbb4e364e087a097610e9da47362518020cc2a.tar.bz2
Two more trivial fixes.
Diffstat (limited to 'Lib/test/test_pwd.py')
-rw-r--r--Lib/test/test_pwd.py2
1 files changed, 1 insertions, 1 deletions
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: