summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMariusz Felisiak <felisiak.mariusz@gmail.com>2021-03-27 12:01:49 +0100
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2021-03-30 11:42:15 +0200
commit3c75f1f3cac7985e8a134fc1c33eb6e01639a04b (patch)
treeeff2be59ea35774fd889184ffe3094b87d554292
parent038940cf5525c41464a1b9e9ba3801042320b0cc (diff)
Refs #32595 -- Added MySQL's SchemaEditor.quote_value() tests for values with Unicode chars.
-rw-r--r--tests/backends/mysql/test_schema.py1
1 files changed, 1 insertions, 0 deletions
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'),