diff options
Diffstat (limited to 'Lib/test/test_dbm.py')
-rwxr-xr-x | Lib/test/test_dbm.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_dbm.py b/Lib/test/test_dbm.py index e5757c9..8fdd262 100755 --- a/Lib/test/test_dbm.py +++ b/Lib/test/test_dbm.py @@ -28,7 +28,7 @@ def test_keys(): d['a'] = 'b' d['12345678910'] = '019237410982340912840198242' d.keys() - if d.has_key('a'): + if 'a' in d: if verbose: print 'Test dbm keys: ', d.keys() |