Unverified Kaydet (Commit) f05c02c4 authored tarafından Mariusz Felisiak's avatar Mariusz Felisiak Kaydeden (comit) GitHub

Fixed #30117 -- Fixed SchemaEditor.quote_value() test for mysqlclient 1.4.0+.

üst 7eb4db87
......@@ -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):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment