[Python-3000-checkins] r53740 - python/branches/p3yk/Lib/test/test_grp.py python/branches/p3yk/Lib/test/test_pwd.py

guido.van.rossum python-3000-checkins at python.org
Sun Feb 11 19:54:19 CET 2007


Author: guido.van.rossum
Date: Sun Feb 11 19:54:18 2007
New Revision: 53740

Modified:
   python/branches/p3yk/Lib/test/test_grp.py
   python/branches/p3yk/Lib/test/test_pwd.py
Log:
Two more trivial fixes.


Modified: python/branches/p3yk/Lib/test/test_grp.py
==============================================================================
--- python/branches/p3yk/Lib/test/test_grp.py	(original)
+++ python/branches/p3yk/Lib/test/test_grp.py	Sun Feb 11 19:54:18 2007
@@ -50,7 +50,7 @@
             bynames[n] = g
             bygids[g] = n
 
-        allnames = bynames.keys()
+        allnames = list(bynames.keys())
         namei = 0
         fakename = allnames[namei]
         while fakename in bynames:

Modified: python/branches/p3yk/Lib/test/test_pwd.py
==============================================================================
--- python/branches/p3yk/Lib/test/test_pwd.py	(original)
+++ python/branches/p3yk/Lib/test/test_pwd.py	Sun Feb 11 19:54:18 2007
@@ -55,7 +55,7 @@
             bynames[n] = u
             byuids[u] = n
 
-        allnames = bynames.keys()
+        allnames = list(bynames.keys())
         namei = 0
         fakename = allnames[namei]
         while fakename in bynames:


More information about the Python-3000-checkins mailing list