This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author felixxm
Recipients felixxm, vstinner
Date 2021-05-25.11:39:14
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
We noticed a behavior change in [1]. One of our tests `apps.tests.AppsTests.test_model_clash()`[2] crashes with:

python: Objects/typeobject.c:3219: type_new: Assertion `type != NULL' failed.
Fatal Python error: Aborted

Current thread 0x00007ffa6951a280 (most recent call first):
  File "django/tests/apps/", line 301 in test_model_clash
  File "cpython/Lib/unittest/", line 549 in _callTestMethod
  File "cpython/Lib/unittest/", line 592 in run
  File "cpython/Lib/unittest/", line 652 in __call__
  File "django/django/test/", line 283 in _setup_and_call
  File "django/django/test/", line 247 in __call__
  File "cpython/Lib/unittest/", line 122 in run
  File "cpython/Lib/unittest/", line 84 in __call__
  File "cpython/Lib/unittest/", line 176 in run
  File "django/django/test/", line 705 in run_suite
  File "django/django/test/", line 772 in run_tests
  File "django/tests/./", line 332 in django_tests
  File "django/tests/./", line 596 in <module>
Aborted (core dumped)

This can be an issue is our test which is quite tricky. I will try to investigate it.

Date User Action Args
2021-05-25 11:39:15felixxmsetrecipients: + felixxm, vstinner
2021-05-25 11:39:15felixxmsetmessageid: <>
2021-05-25 11:39:15felixxmlinkissue44232 messages
2021-05-25 11:39:14felixxmcreate