diff options
| author | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2019-01-19 13:31:15 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-01-19 13:31:15 +0100 |
| commit | f05c02c4b8d4e423e57d453c4bd699dc5ff7eaa7 (patch) | |
| tree | 89ed3e744dd8be834ef252aaae1ed0a7e3a629cf /tests/backends/mysql/test_schema.py | |
| parent | 7eb4db8732a3b491d4945a94a314842ba0ad8924 (diff) | |
Fixed #30117 -- Fixed SchemaEditor.quote_value() test for mysqlclient 1.4.0+.
Diffstat (limited to 'tests/backends/mysql/test_schema.py')
| -rw-r--r-- | tests/backends/mysql/test_schema.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/backends/mysql/test_schema.py b/tests/backends/mysql/test_schema.py index 27c24df4ee..9f36274391 100644 --- a/tests/backends/mysql/test_schema.py +++ b/tests/backends/mysql/test_schema.py @@ -13,7 +13,7 @@ class SchemaEditorTests(TestCase): ('string', "'string'"), (42, '42'), (1.754, '1.754e0' if MySQLdb.version_info >= (1, 3, 14) else '1.754'), - (False, '0'), + (False, b'0' if MySQLdb.version_info >= (1, 4, 0) else '0'), ] for value, expected in tested_values: with self.subTest(value=value): |
