Skip to content

Commit d140fc4

Browse files
committed
Add missing quotes
1 parent cf1aef4 commit d140fc4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pymysqlreplication/tests/test_basic.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -679,13 +679,13 @@ def test_drop_table_tablemetadata_unavailable(self):
679679
assert had_error
680680

681681
def test_ignore_decode_errors(self):
682-
problematic_unicode_string = b'[{"type":"paragraph","text":"\xed\xa0\xbd \xed\xb1\x8d Some string"}]'
682+
problematic_unicode_string = b'[{"text":"\xed\xa0\xbd \xed\xb1\x8d Some string"}]'
683683
self.stream.close()
684684
self.execute("CREATE TABLE test (id INTEGER(11), data VARCHAR(50))")
685685
self.execute("INSERT INTO test VALUES (1, 'A value')")
686686
self.execute("COMMIT")
687687
self.execute("ALTER TABLE test MODIFY COLUMN data VARCHAR(50) CHARACTER SET utf8mb4")
688-
self.execute(f"INSERT INTO test VALUES (2, {problematic_unicode_string})")
688+
self.execute(f"INSERT INTO test VALUES (2, '{problematic_unicode_string}')")
689689
self.execute("COMMIT")
690690

691691
self.stream = BinLogStreamReader(

0 commit comments

Comments
 (0)