mirror of https://github.com/django/django.git
Refs #32595 -- Added MySQL's SchemaEditor.quote_value() tests for values with Unicode chars.
This commit is contained in:
parent
038940cf55
commit
3c75f1f3ca
|
@ -11,6 +11,7 @@ class SchemaEditorTests(TestCase):
|
||||||
editor = connection.schema_editor()
|
editor = connection.schema_editor()
|
||||||
tested_values = [
|
tested_values = [
|
||||||
('string', "'string'"),
|
('string', "'string'"),
|
||||||
|
('¿Tú hablas inglés?', "'¿Tú hablas inglés?'"),
|
||||||
(42, '42'),
|
(42, '42'),
|
||||||
(1.754, '1.754e0' if MySQLdb.version_info >= (1, 3, 14) else '1.754'),
|
(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'),
|
(False, b'0' if MySQLdb.version_info >= (1, 4, 0) else '0'),
|
||||||
|
|
Loading…
Reference in New Issue