From: Mike Bayer Date: Sun, 31 Aug 2014 22:00:34 +0000 (-0400) Subject: - these tests were squashing deprecation warnings all along... X-Git-Tag: rel_1_0_0b1~205^2~11 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e42ced2ecac01e6503717fe91a0a3c6bedac800e;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git - these tests were squashing deprecation warnings all along... --- diff --git a/test/dialect/mysql/test_types.py b/test/dialect/mysql/test_types.py index 63d5e4bf88..75dbe15e0f 100644 --- a/test/dialect/mysql/test_types.py +++ b/test/dialect/mysql/test_types.py @@ -565,13 +565,15 @@ class EnumSetTest(fixtures.TestBase, AssertsExecutionResults, AssertsCompiledSQL with testing.expect_deprecated('Manually quoting ENUM value literals'): e1, e2 = mysql.ENUM("'a'", "'b'"), mysql.ENUM("'a'", "'b'") + e3 = mysql.ENUM("'a'", "'b'", strict=True) + e4 = mysql.ENUM("'a'", "'b'", strict=True) enum_table = Table('mysql_enum', self.metadata, Column('e1', e1), Column('e2', e2, nullable=False), Column('e2generic', Enum("a", "b"), nullable=False), - Column('e3', mysql.ENUM("'a'", "'b'", strict=True)), - Column('e4', mysql.ENUM("'a'", "'b'", strict=True), + Column('e3', e3), + Column('e4', e4, nullable=False), Column('e5', mysql.ENUM("a", "b")), Column('e5generic', Enum("a", "b")), @@ -622,13 +624,14 @@ class EnumSetTest(fixtures.TestBase, AssertsExecutionResults, AssertsCompiledSQL with testing.expect_deprecated('Manually quoting SET value literals'): e1, e2 = mysql.SET("'a'", "'b'"), mysql.SET("'a'", "'b'") - + e4 = mysql.SET("'a'", "b") + e5 = mysql.SET("'a'", "'b'", quoting="quoted") set_table = Table('mysql_set', self.metadata, Column('e1', e1), Column('e2', e2, nullable=False), Column('e3', mysql.SET("a", "b")), - Column('e4', mysql.SET("'a'", "b")), - Column('e5', mysql.SET("'a'", "'b'", quoting="quoted")) + Column('e4', e4), + Column('e5', e5) ) eq_(colspec(set_table.c.e1),