summaryrefslogtreecommitdiff
path: root/test/sql
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2019-12-14 15:36:38 -0500
committerMike Bayer <mike_mp@zzzcomputing.com>2019-12-14 15:36:38 -0500
commit5411bef285c50b03ea6d8b45193d43c207d4746b (patch)
tree29f7ebeec3e1c69fe9bcf067a1aa3380dfb124de /test/sql
parent89bf6d80a999eb31ee4a69b229b887fbfb2ed12a (diff)
downloadsqlalchemy-5411bef285c50b03ea6d8b45193d43c207d4746b.tar.gz
Ensure cache keys are hashable in the test
Change-Id: I962ff15194e2416844086f03dddadb49f48a6c8d
Diffstat (limited to 'test/sql')
-rw-r--r--test/sql/test_compare.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/sql/test_compare.py b/test/sql/test_compare.py
index 5d21960b7..520133272 100644
--- a/test/sql/test_compare.py
+++ b/test/sql/test_compare.py
@@ -450,6 +450,7 @@ class CacheKeyFixture(object):
a_key = case_a[a]._generate_cache_key()
b_key = case_b[b]._generate_cache_key()
eq_(a_key.key, b_key.key)
+ eq_(hash(a_key), hash(b_key))
for a_param, b_param in zip(
a_key.bindparams, b_key.bindparams