diff options
| author | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2021-03-29 10:10:19 +0200 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2021-03-30 11:42:15 +0200 |
| commit | f6018c1e63a04e0c12e2ca759e76e05ccf5e09de (patch) | |
| tree | b279fae73621a04e4447e311dbc61fa73efdfe04 /tests | |
| parent | 3c75f1f3cac7985e8a134fc1c33eb6e01639a04b (diff) | |
Fixed #32595 -- Fixed SchemaEditor.quote_value() crash with bytes.
Diffstat (limited to 'tests')
| -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 e4b25538dd..44f4a07b18 100644 --- a/tests/backends/mysql/test_schema.py +++ b/tests/backends/mysql/test_schema.py @@ -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'), |
