diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2019-12-14 15:36:38 -0500 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2019-12-14 15:36:38 -0500 |
| commit | 5411bef285c50b03ea6d8b45193d43c207d4746b (patch) | |
| tree | 29f7ebeec3e1c69fe9bcf067a1aa3380dfb124de /test/sql | |
| parent | 89bf6d80a999eb31ee4a69b229b887fbfb2ed12a (diff) | |
| download | sqlalchemy-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.py | 1 |
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 |
