summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_grp.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_grp.py')
-rwxr-xr-xLib/test/test_grp.py2
1 files changed, 1 insertions, 1 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: