summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/testing
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sqlalchemy/testing')
-rw-r--r--lib/sqlalchemy/testing/suite/test_types.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/sqlalchemy/testing/suite/test_types.py b/lib/sqlalchemy/testing/suite/test_types.py
index ebcceaae7..3e54d87a4 100644
--- a/lib/sqlalchemy/testing/suite/test_types.py
+++ b/lib/sqlalchemy/testing/suite/test_types.py
@@ -288,6 +288,7 @@ class _DateFixture(_LiteralRoundTripFixture, fixtures.TestBase):
def define_tables(cls, metadata):
class Decorated(TypeDecorator):
impl = cls.datatype
+ cache_ok = True
Table(
"date_table",
@@ -477,6 +478,7 @@ class CastTypeDecoratorTest(_LiteralRoundTripFixture, fixtures.TestBase):
def string_as_int(self):
class StringAsInt(TypeDecorator):
impl = String(50)
+ cache_ok = True
def get_dbapi_type(self, dbapi):
return dbapi.NUMBER