Skip to content

Commit 7cb62f9

Browse files
committed
Fix test using MySQL 5.7
Change-Id: I1a0734315c6141974b7e52938067cd9de15a2cbc
1 parent e47d0df commit 7cb62f9

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

tests/test_bugs.py

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7701,7 +7701,16 @@ def tearDown(self):
77017701
def test_information_schema_columns_result(self):
77027702
config = tests.get_mysql_config()
77037703
database = config["database"]
7704-
exp = [("id", "int", None, "int", 10, 0)]
7704+
exp = [
7705+
(
7706+
"id",
7707+
"int",
7708+
None,
7709+
"int" if tests.MYSQL_VERSION > (8, 0) else "int(11)",
7710+
10,
7711+
0,
7712+
)
7713+
]
77057714
with mysql.connector.connect(**config) as cnx:
77067715
with cnx.cursor() as cur:
77077716
cur.execute(

0 commit comments

Comments
 (0)