We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ec8d8fd commit a56f4ceCopy full SHA for a56f4ce
pymysqlreplication/tests/benchmark.py
@@ -48,11 +48,11 @@ def consume_events() -> None:
48
"db": "pymysqlreplication_test"
49
}
50
51
-conn = pymysql.connect(**database)
+conn: Connection = pymysql.connect(**database)
52
53
execute(conn, "DROP DATABASE IF EXISTS pymysqlreplication_test")
54
execute(conn, "CREATE DATABASE pymysqlreplication_test")
55
56
execute(conn, "CREATE TABLE test (i INT) ENGINE = MEMORY")
57
execute(conn, "INSERT INTO test VALUES(1)")
58
execute(conn, "CREATE TABLE test2 (i INT) ENGINE = MEMORY")
0 commit comments