summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/inspectdb/tests.py3
1 files changed, 2 insertions, 1 deletions
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: