diff --git a/tests/schema/tests.py b/tests/schema/tests.py index f3b9423147..816c8e26c5 100644 --- a/tests/schema/tests.py +++ b/tests/schema/tests.py @@ -287,7 +287,9 @@ class SchemaTests(TransactionTestCase): ) # Ensure the field is right afterwards columns = self.column_classes(Author) - self.assertEqual(columns['bits'][0], "BinaryField") + # MySQL annoyingly uses the same backend, so it'll come back as one of + # these two types. + self.assertIn(columns['bits'][0], ("BinaryField", "TextField")) def test_alter(self): """