Skip to content

Commit 84a5951

Browse files
add a comment
1 parent 82fc9fc commit 84a5951

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/conftest.py

+2
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,8 @@ async def mysql_connector_conn(
208208
connect: ConnectFixture,
209209
) -> AsyncGenerator[MySQLConnectionAbstract, None]:
210210
conn = await connect(user="levon_helm")
211+
# different version mysql-connector uses different default collation
212+
# run the below query so the tests will not return different results
211213
await query(conn, "SET NAMES 'utf8mb4' COLLATE 'utf8mb4_general_ci'")
212214
try:
213215
yield conn

0 commit comments

Comments
 (0)