summaryrefslogtreecommitdiff
path: root/test/testlib
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2007-08-15 17:28:52 +0000
committerMike Bayer <mike_mp@zzzcomputing.com>2007-08-15 17:28:52 +0000
commite02a48ed24ee4548e765c3b2a26e8f20d0d992e2 (patch)
tree2be3666db5d575669ac165878db8e4e74bdb4b7c /test/testlib
parent2708a3489e342ab9cf64b0aa4ab027b4a45c629f (diff)
downloadsqlalchemy-e02a48ed24ee4548e765c3b2a26e8f20d0d992e2.tar.gz
mass has_key->__contains__ migration, [ticket:738]
Diffstat (limited to 'test/testlib')
-rw-r--r--test/testlib/testing.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/testlib/testing.py b/test/testlib/testing.py
index 9afb21587..88bc99792 100644
--- a/test/testlib/testing.py
+++ b/test/testlib/testing.py
@@ -140,7 +140,7 @@ class ExecutionContextWrapper(object):
# asserting a dictionary of statements->parameters
# this is to specify query assertions where the queries can be in
# multiple orderings
- if not item.has_key('_converted'):
+ if '_converted' not in item:
for key in item.keys():
ckey = self.convert_statement(key)
item[ckey] = item[key]