Skip to content

Commit 3bae489

Browse files
authored
Merge pull request julien-duponchelle#565 from starcat37/fix/tests-charset
2 parents 1d2c8ab + 24834eb commit 3bae489

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/pytest.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
pull_request:
55
workflow_dispatch:
66
env:
7-
PYTEST_SKIP_OPTION: "not test_no_trailing_rotate_event and not test_end_log_pos and not test_query_event_latin1"
7+
PYTEST_SKIP_OPTION: "not test_no_trailing_rotate_event and not test_end_log_pos"
88
jobs:
99
test:
1010
strategy:

pymysqlreplication/tests/base.py

+1
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ def setUp(self, charset="utf8"):
5151
self.execute("DROP DATABASE IF EXISTS pymysqlreplication_test")
5252
self.execute("CREATE DATABASE pymysqlreplication_test")
5353
db = copy.copy(self.database)
54+
db["charset"] = charset
5455
self.connect_conn_control(db)
5556
self.stream = None
5657
self.resetBinLog()

0 commit comments

Comments
 (0)