diff --git a/tests/inspectdb/tests.py b/tests/inspectdb/tests.py index 76c5e2b940..9bf3c432e5 100644 --- a/tests/inspectdb/tests.py +++ b/tests/inspectdb/tests.py @@ -608,7 +608,8 @@ class InspectDBTransactionalTests(TransactionTestCase): output, ) self.assertIn( - "column_2 = models.IntegerField()", + "column_2 = models.%s()" + % connection.features.introspected_field_types["IntegerField"], output, ) finally: