Open
Description
Bug report
Bug description:
This seems to be caused by GH-133114.
Command to re-produce:
./python -m test -R 3:3 -j12 test_descr
The failure output:
FAIL: test_type_lookup_mro_reference (test.test_descr.MiscTests.test_type_lookup_mro_reference)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.13.cstratak-RHEL8-x86_64.refleak/build/Lib/test/test_descr.py", line 5181, in test_type_lookup_mro_reference
self.assertEqual(X.mykey, 'from Base')
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^
AssertionError: 'from Base2' != 'from Base'
- from Base2
? -
+ from Base
----------------------------------------------------------------------
Ran 156 tests in 0.829s
FAILED (failures=1, skipped=1, expected failures=2)
test test_descr failed
This appears to be another bug in the type lookup (MRO) cache.
CPython versions tested on:
3.13
Operating systems tested on:
Linux
Linked PRs
Metadata
Metadata
Assignees
Labels
bugs and security fixesbugs and security fixes(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)An unexpected behavior, bug, or errorAn unexpected behavior, bug, or error