summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_gdbm.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_gdbm.py')
-rwxr-xr-xLib/test/test_gdbm.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_gdbm.py b/Lib/test/test_gdbm.py
index 03a47d9..e76539a 100755
--- a/Lib/test/test_gdbm.py
+++ b/Lib/test/test_gdbm.py
@@ -17,7 +17,7 @@ a = g.keys()
if verbose:
print 'Test gdbm file keys: ', a
-g.has_key('a')
+'a' in g
g.close()
try:
g['a']