From 3c75f1f3cac7985e8a134fc1c33eb6e01639a04b Mon Sep 17 00:00:00 2001 From: Mariusz Felisiak Date: Sat, 27 Mar 2021 12:01:49 +0100 Subject: [PATCH] Refs #32595 -- Added MySQL's SchemaEditor.quote_value() tests for values with Unicode chars. --- tests/backends/mysql/test_schema.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/backends/mysql/test_schema.py b/tests/backends/mysql/test_schema.py index 9f36274391..e4b25538dd 100644 --- a/tests/backends/mysql/test_schema.py +++ b/tests/backends/mysql/test_schema.py @@ -11,6 +11,7 @@ class SchemaEditorTests(TestCase): editor = connection.schema_editor() tested_values = [ ('string', "'string'"), + ('¿Tú hablas inglés?', "'¿Tú hablas inglés?'"), (42, '42'), (1.754, '1.754e0' if MySQLdb.version_info >= (1, 3, 14) else '1.754'), (False, b'0' if MySQLdb.version_info >= (1, 4, 0) else '0'),