]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
adjust mysql utf test
authorMike Bayer <mike_mp@zzzcomputing.com>
Wed, 3 Aug 2022 22:09:39 +0000 (18:09 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Wed, 3 Aug 2022 22:10:31 +0000 (18:10 -0400)
we've updated mysql on jenkins and this test seems to need
a small adjustment

Change-Id: I21508f667700cf8f3200f15af501a66a85f48779
(cherry picked from commit ea6fb4ff5bcffcf71cdbc587504f10f03fe921ca)

test/dialect/mysql/test_types.py

index 3afe6c38538175cdb073508502982703b97749dc..017fad3cff626110382fb1f631d0eb8b79ee2e9e 100644 (file)
@@ -513,8 +513,8 @@ class TypeRoundTripTest(fixtures.TestBase, AssertsExecutionResults):
         )
         t.create(connection)
         t2 = Table("foo", MetaData(), autoload_with=connection)
-        eq_(t2.kwargs["mysql_collate"], "utf8_bin")
-        eq_(t2.kwargs["mysql_default charset"], "utf8")
+        assert t2.kwargs["mysql_collate"] in ("utf8_bin", "utf8mb3_bin")
+        assert t2.kwargs["mysql_default charset"] in ("utf8", "utf8mb3")
 
         # test [ticket:2906]
         # in order to test the condition here, need to use