diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2008-05-09 19:00:55 +0000 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2008-05-09 19:00:55 +0000 |
commit | 84ec085d474f5f8029a52d7f6a24deda56bdfa87 (patch) | |
tree | dadfbaa812ee2a8f99006f85f139ac553237f09c /test/dialect/mysql.py | |
parent | cbabd91c21eb6fdee4786a3cd3195113fb0b8bed (diff) | |
download | sqlalchemy-84ec085d474f5f8029a52d7f6a24deda56bdfa87.tar.gz |
MSText no longer implicitly creates TEXT for string with no length
(this actually allows CAST (foo, VARCHAR) to render too)
Diffstat (limited to 'test/dialect/mysql.py')
-rw-r--r-- | test/dialect/mysql.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/test/dialect/mysql.py b/test/dialect/mysql.py index 923658b01..6a261ddcd 100644 --- a/test/dialect/mysql.py +++ b/test/dialect/mysql.py @@ -630,11 +630,9 @@ class TypesTest(TestBase, AssertsExecutionResults): @testing.uses_deprecated('Using String type with no length') def test_type_reflection(self): # (ask_for, roundtripped_as_if_different) - specs = [( String(), mysql.MSText(), ), - ( String(1), mysql.MSString(1), ), + specs = [( String(1), mysql.MSString(1), ), ( String(3), mysql.MSString(3), ), ( Text(), mysql.MSText(), ), - ( Unicode(), mysql.MSText(), ), ( Unicode(1), mysql.MSString(1), ), ( Unicode(3), mysql.MSString(3), ), ( UnicodeText(), mysql.MSText(), ), |