diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index 3de4da84..84966026 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -4,7 +4,7 @@ on: pull_request: workflow_dispatch: env: - PYTEST_SKIP_OPTION: "not test_no_trailing_rotate_event and not test_end_log_pos and not test_query_event_latin1" + PYTEST_SKIP_OPTION: "not test_no_trailing_rotate_event and not test_end_log_pos" jobs: test: strategy: diff --git a/pymysqlreplication/tests/base.py b/pymysqlreplication/tests/base.py index b288be84..0198f014 100644 --- a/pymysqlreplication/tests/base.py +++ b/pymysqlreplication/tests/base.py @@ -51,6 +51,7 @@ def setUp(self, charset="utf8"): self.execute("DROP DATABASE IF EXISTS pymysqlreplication_test") self.execute("CREATE DATABASE pymysqlreplication_test") db = copy.copy(self.database) + db["charset"] = charset self.connect_conn_control(db) self.stream = None self.resetBinLog()