Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

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

Sign up
Appearance settings

Leak test of test_descr fails Base2 != Base #133122

Closed
Labels
3.13bugs and security fixesinterpreter-core(Objects, Python, Grammar, and Parser dirs)type-bugAn unexpected behavior, bug, or error
@nascheme

Description

@nascheme

Bug report

Bug description:

This seems to be caused byGH-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.829sFAILED (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 fixesinterpreter-core(Objects, Python, Grammar, and Parser dirs)type-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp