From: Mike Bayer Date: Wed, 3 Aug 2022 22:09:39 +0000 (-0400) Subject: adjust mysql utf test X-Git-Tag: rel_2_0_0b1~136 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ea6fb4ff5bcffcf71cdbc587504f10f03fe921ca;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git adjust mysql utf test we've updated mysql on jenkins and this test seems to need a small adjustment Change-Id: I21508f667700cf8f3200f15af501a66a85f48779 --- diff --git a/test/dialect/mysql/test_types.py b/test/dialect/mysql/test_types.py index 8e7c6ce463..76e800e86d 100644 --- a/test/dialect/mysql/test_types.py +++ b/test/dialect/mysql/test_types.py @@ -511,8 +511,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