diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2021-03-19 14:52:59 -0400 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2021-03-19 14:52:59 -0400 |
| commit | 028e5e90331ff3d12ad3f241e63ccef56a8fa017 (patch) | |
| tree | a0b2de23808b59ed258c863c87ff504bdc6296b4 /test/sql | |
| parent | ad4ce4de3f617ae41fd15556d6e749689a501a94 (diff) | |
| download | sqlalchemy-028e5e90331ff3d12ad3f241e63ccef56a8fa017.tar.gz | |
Use tuple for function package names
Fixed issue where using a ``func`` that includes dotted packagenames would
fail to be cacheable by the SQL caching system due to a Python list of
names that needed to be a tuple.
Fixes: #6101
Change-Id: I1d4bb5bf230b83596c59b6a04aa498f18ecd9613
Diffstat (limited to 'test/sql')
| -rw-r--r-- | test/sql/test_compare.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/sql/test_compare.py b/test/sql/test_compare.py index 9a4b8b199..02dd0661a 100644 --- a/test/sql/test_compare.py +++ b/test/sql/test_compare.py @@ -269,6 +269,12 @@ class CoreFixtures(object): ), lambda: (_OffsetLimitParam("x"), _OffsetLimitParam("y")), lambda: (func.foo(), func.foo(5), func.bar()), + lambda: ( + func.package1.foo(5), + func.package2.foo(5), + func.packge1.bar(5), + func.foo(), + ), lambda: (func.current_date(), func.current_time()), lambda: ( func.next_value(Sequence("q")), |
