home / django_tickets / tickets

tickets: 7825

This data as json

id created changetime last_pulled_from_trac stage status component type severity version resolution summary description owner reporter keywords easy has_patch needs_better_patch needs_tests needs_docs ui_ux
7825 2008-07-19 01:06:05 2011-09-28 16:12:16 2022-03-06 03:40:39.134633 Unreviewed closed Metasystem     dev fixed modeltests/delete test fails after NFA merge After the NFA merge, this happens: {{{ ====================================================================== FAIL: Doctest: modeltests.delete.models.__test__.API_TESTS ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/jacob/Projects/Django/upstream/django/test/_doctest.py", line 2180, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for modeltests.delete.models.__test__.API_TESTS File "/Users/jacob/Projects/Django/upstream/tests/modeltests/delete/models.py", line unknown line number, in API_TESTS ---------------------------------------------------------------------- File "/Users/jacob/Projects/Django/upstream/tests/modeltests/delete/models.py", line ?, in modeltests.delete.models.__test__.API_TESTS Failed example: del D._meta._related_objects_cache Exception raised: Traceback (most recent call last): File "/Users/jacob/Projects/Django/upstream/django/test/_doctest.py", line 1267, in __run compileflags, 1) in test.globs File "<doctest modeltests.delete.models.__test__.API_TESTS[17]>", line 1, in <module> del D._meta._related_objects_cache AttributeError: _related_objects_cache ---------------------------------------------------------------------- Ran 1 test in 0.046s FAILED (failures=1) }}} It appears to be related to the somewhat fishy internals hacking in the test case. The failure may be related to the change in import behavior because of admin registry class. lukeplant jacob   0 0 0 0 0 0
Powered by Datasette · Queries took 1.235ms