1. Mike Bayer
  2. sqlalchemy


Mike Bayer  committed e42ced2

- these tests were squashing deprecation warnings all along...

  • Participants
  • Parent commits 3c60d3b
  • Branches master

Comments (0)

Files changed (1)

File test/dialect/mysql/test_types.py

View file
         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,
             Column('e5', mysql.ENUM("a", "b")),
             Column('e5generic', Enum("a", "b")),
         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)