﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
34958	Intermittent `messages_tests.tests.TestLevelTags.test_lazy` test failure	bcail	Natalia Bidart	"I get following test failure sometimes (it's happened on py3.11, py3.12, and py3.13a1). Seems to be some kind of race condition.
{{{
======================================================================
FAIL: test_lazy (messages_tests.tests.TestLevelTags.test_lazy)
----------------------------------------------------------------------
Traceback (most recent call last):
  File ""/opt/python-3.12.0/lib/python3.12/unittest/case.py"", line 58, in testPartExecutor
    yield
  File ""/opt/python-3.12.0/lib/python3.12/unittest/case.py"", line 634, in run
    self._callTestMethod(testMethod)
    ^^^^^^^^^^^^^^^^^
  File ""/opt/python-3.12.0/lib/python3.12/unittest/case.py"", line 589, in _callTestMethod
    if method() is not None:
    ^^^^^^^^^^^^^^^^^
  File ""/opt/local/src/django/tests/messages_tests/tests.py"", line 73, in test_lazy
    self.assertEqual(base.LEVEL_TAGS[constants.ERROR], ""bad"")
    ^^^^^^^^^^^^^^^^^
  File ""/opt/python-3.12.0/lib/python3.12/unittest/case.py"", line 885, in assertEqual
    assertion_func(first, second, msg=msg)
    ^^^^^^^^^^^^^^^^^
  File ""/opt/python-3.12.0/lib/python3.12/unittest/case.py"", line 1251, in assertMultiLineEqual
    self.fail(self._formatMessage(msg, standardMsg))
    ^^^^^^^^^^^^^^^^^
  File ""/opt/python-3.12.0/lib/python3.12/unittest/case.py"", line 715, in fail
    raise self.failureException(msg)
    ^^^^^^^^^^^^^^^^^
AssertionError: 'error' != 'bad'
- error
+ bad
}}}"	Bug	closed	Core (Other)	dev	Normal	fixed			Ready for checkin	1	0	0	0	0	0
