mirror of https://github.com/django/django.git
[3.2.x] Refs #32595 -- Added MySQL's SchemaEditor.quote_value() tests for values with Unicode chars.
Backport of 3c75f1f3ca
from main
This commit is contained in:
parent
1f48d38c69
commit
682eba534f
|
@ -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'),
|
||||
|
|
Loading…
Reference in New Issue