diff --git a/tests/check_framework/test_model_checks.py b/tests/check_framework/test_model_checks.py
index d4342ada07..1c96e8d145 100644
a
|
b
|
class ModelDefaultAutoFieldTests(SimpleTestCase):
|
395 | 395 | ), |
396 | 396 | ]) |
397 | 397 | |
| 398 | def test_inherited__pk(self): |
| 399 | class Parent(models.Model): |
| 400 | id = models.AutoField(primary_key=True) |
| 401 | |
| 402 | class Child(models.Model): |
| 403 | pass |
| 404 | |
| 405 | self.assertEqual(checks.run_checks(app_configs=self.apps.get_app_configs()), []) |
| 406 | |
398 | 407 | @override_settings(DEFAULT_AUTO_FIELD='django.db.models.BigAutoField') |
399 | 408 | def test_default_auto_field_setting(self): |
400 | 409 | class Model(models.Model): |