Skip to content

Commit b8d6ec1

Browse files
add a comment
1 parent 82fc9fc commit b8d6ec1

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 versions of mysql-connector use various default collations.
212+
# Execute the following query to ensure consistent test results across different versions.
211213
await query(conn, "SET NAMES 'utf8mb4' COLLATE 'utf8mb4_general_ci'")
212214
try:
213215
yield conn

0 commit comments

Comments
 (0)