mirror of
https://github.com/django/django.git
synced 2025-10-23 21:59:11 +00:00
Fixed #32595 -- Fixed SchemaEditor.quote_value() crash with bytes.
This commit is contained in:
@@ -12,6 +12,7 @@ class SchemaEditorTests(TestCase):
|
||||
tested_values = [
|
||||
('string', "'string'"),
|
||||
('¿Tú hablas inglés?', "'¿Tú hablas inglés?'"),
|
||||
(b'bytes', b"'bytes'"),
|
||||
(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'),
|
||||
|
||||
Reference in New Issue
Block a user