From 2f2d84fbb14f1282677de8fc1186da8f41081214 Mon Sep 17 00:00:00 2001 From: Michael Trier Date: Fri, 2 Jan 2009 20:33:14 +0000 Subject: [PATCH] Swap out text_as_varchar on the mssql dialect for the Types tests. --- test/dialect/mssql.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/test/dialect/mssql.py b/test/dialect/mssql.py index babb493ac6..e6422a87a1 100755 --- a/test/dialect/mssql.py +++ b/test/dialect/mssql.py @@ -681,6 +681,10 @@ class TypesTest2(TestBase, AssertsExecutionResults): def test_char(self): """Exercise COLLATE-ish options on string types.""" + # modify the text_as_varchar setting since we are not testing that behavior here + text_as_varchar = testing.db.dialect.text_as_varchar + testing.db.dialect.text_as_varchar = False + columns = [ (mssql.MSChar, [], {}, 'CHAR'), @@ -742,6 +746,8 @@ class TypesTest2(TestBase, AssertsExecutionResults): raise charset_table.drop() + testing.db.dialect.text_as_varchar = text_as_varchar + def test_timestamp(self): """Exercise TIMESTAMP column.""" -- 2.47.3