From 772ae63bdbfb82509bf2df20e56722b4cdc6186b Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Sun, 5 Jun 2011 12:32:04 -0400 Subject: [PATCH] add test for [ticket:2159] --- test/dialect/test_mssql.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/test/dialect/test_mssql.py b/test/dialect/test_mssql.py index 87ac521d75..ef5d261959 100644 --- a/test/dialect/test_mssql.py +++ b/test/dialect/test_mssql.py @@ -1247,8 +1247,10 @@ class TypesTest(fixtures.TestBase, AssertsExecutionResults, ComparesTables): type_, args, kw, res, requires = spec[0:5] if requires and testing._is_excluded('mssql', *requires) \ or not requires: - table_args.append(Column('c%s' % index, type_(*args, - **kw), nullable=None)) + c = Column('c%s' % index, type_(*args, + **kw), nullable=None) + testing.db.dialect.type_descriptor(c.type) + table_args.append(c) dates_table = Table(*table_args) gen = testing.db.dialect.ddl_compiler(testing.db.dialect, schema.CreateTable(dates_table)) -- 2.39.5