Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Leak test of test_descr fails Base2 != Base #133122

Copy link
Copy link
Open
@nascheme

Description

@nascheme
Issue body actions

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

No one assigned

    Labels

    3.13bugs and security fixesbugs and security fixesinterpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.