Skip to content

test_type_cache fails with --forever argument#113937

@Eclips4

Description

@Eclips4

Bug report

Bug description:

Trace:

./python.exe-mtest-qtest_type_cache--foreverUsingrandomseed: 20643164630:00:00loadavg: 2.54Runtestssequentiallytesttest_type_cachefailed--Traceback (mostrecentcalllast): File"/Users/admin/Projects/cpython/Lib/test/test_type_cache.py", line132, intest_class_load_attr_specialization_static_typeself._assign_and_check_valid_version(str) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^File"/Users/admin/Projects/cpython/Lib/test/test_type_cache.py", line90, in_assign_and_check_valid_versionself.assertNotEqual(type_get_version(user_type), 0) ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^AssertionError: 0==0==Testsresult: FAILURE==1testfailed: test_type_cacheTotalduration: 50msTotaltests: run=14failures=1Totaltestfiles: run=2failed=1Result: FAILURE

CPython versions tested on:

CPython main branch

Operating systems tested on:

macOS

Linked PRs

Metadata

Metadata

Labels

3.11only security fixes3.12only security fixes3.13bugs and security fixestestsTests in the Lib/test dirtype-bugAn unexpected behavior, bug, or error

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions