From e01dab9b1fbaf8325022c20f76ea9b99fbfdfd73 Mon Sep 17 00:00:00 2001 From: Scott Dugas Date: Wed, 29 Oct 2014 17:42:52 -0400 Subject: [PATCH] Set the length for MyType implementation Mysql drops the type in these tests, when it does visit_typeclause, since it's an unkown type it just says none, and doesn't do a cast. Firebird also doesn't support varchar with length, it throws an error on these types. --- test/sql/test_types.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/sql/test_types.py b/test/sql/test_types.py index efa0f90ae8..26dc6c8425 100644 --- a/test/sql/test_types.py +++ b/test/sql/test_types.py @@ -558,7 +558,7 @@ class TypeCoerceCastTest(fixtures.TablesTest): @classmethod def define_tables(cls, metadata): class MyType(types.TypeDecorator): - impl = String + impl = String(50) def process_bind_param(self, value, dialect): return "BIND_IN" + str(value) -- 2.47.3