diff options
| author | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2021-03-27 12:01:49 +0100 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2021-03-30 11:47:41 +0200 |
| commit | 682eba534f15e962d29026bfcac8dcaf4555aac0 (patch) | |
| tree | ce1dd97fcab776e99f61a6746a1a14e473d8b638 | |
| parent | 1f48d38c69c563b0cf0a5bcb3dfc16d0bbe9b0cd (diff) | |
[3.2.x] Refs #32595 -- Added MySQL's SchemaEditor.quote_value() tests for values with Unicode chars.
Backport of 3c75f1f3cac7985e8a134fc1c33eb6e01639a04b from main
| -rw-r--r-- | tests/backends/mysql/test_schema.py | 1 |
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'), |
