diff options
author | mike bayer <mike_mp@zzzcomputing.com> | 2021-05-06 21:12:48 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@ci3.zzzcomputing.com> | 2021-05-06 21:12:48 +0000 |
commit | c99c93fd64314c6384a1153c074ea39386892d05 (patch) | |
tree | b727e07f4f59b2b05bebfa9b82d4a06b8e3a9a7b /test/sql/test_operators.py | |
parent | a965f0c99a0b02e918d0f63534a3b7c4c9926655 (diff) | |
parent | 6967b4502079e199b12f5eb307d10d27ec92d537 (diff) | |
download | sqlalchemy-c99c93fd64314c6384a1153c074ea39386892d05.tar.gz |
Merge "don't cache TypeDecorator by default"
Diffstat (limited to 'test/sql/test_operators.py')
-rw-r--r-- | test/sql/test_operators.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/sql/test_operators.py b/test/sql/test_operators.py index 26714f6fa..f3e5282fd 100644 --- a/test/sql/test_operators.py +++ b/test/sql/test_operators.py @@ -500,6 +500,7 @@ class TypeDecoratorComparatorTest(_CustomComparatorTests, fixtures.TestBase): def _add_override_factory(self): class MyInteger(TypeDecorator): impl = Integer + cache_ok = True class comparator_factory(TypeDecorator.Comparator): def __init__(self, expr): @@ -520,6 +521,7 @@ class TypeDecoratorTypeDecoratorComparatorTest( def _add_override_factory(self): class MyIntegerOne(TypeDecorator): impl = Integer + cache_ok = True class comparator_factory(TypeDecorator.Comparator): def __init__(self, expr): @@ -533,6 +535,7 @@ class TypeDecoratorTypeDecoratorComparatorTest( class MyIntegerTwo(TypeDecorator): impl = MyIntegerOne + cache_ok = True return MyIntegerTwo @@ -556,6 +559,7 @@ class TypeDecoratorWVariantComparatorTest( class MyInteger(TypeDecorator): impl = Integer + cache_ok = True class comparator_factory(TypeDecorator.Comparator): def __init__(self, expr): @@ -587,6 +591,7 @@ class CustomEmbeddedinTypeDecoratorTest( class MyDecInteger(TypeDecorator): impl = MyInteger + cache_ok = True return MyDecInteger |