Skip to content

Add omitted charset setting in base.py #565

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Oct 19, 2023

Conversation

starcat37
Copy link
Contributor

@starcat37 starcat37 commented Oct 18, 2023

Description

This pull request addresses Issue #564.

To resolve the failing TestLatin1 test, I have added the line db["charset"] = charset to base.py.

As a result of this change, the charset setting now functions correctly in the TestLatin1 test.

class TestLatin1(base.PyMySQLReplicationTestCase):
def setUp(self):
super().setUp(charset="latin1")

With this fix in place, I have also re-included the test_query_event_latin1 test in the pytest suite, as it now passes successfully.

Copy link
Collaborator

@sean-k1 sean-k1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thanks your hard work

@sean-k1 sean-k1 merged commit 3bae489 into julien-duponchelle:main Oct 19, 2023
@starcat37 starcat37 deleted the fix/tests-charset branch October 19, 2023 00:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants