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

Unit test test_incremental_gc_handles_fast_cycle_creation sometimes fails #133532

Closed
Labels
testsTests in the Lib/test dirtype-bugAn unexpected behavior, bug, or error
@nascheme

Description

@nascheme

Bug report

Bug description:

On a debug build on Linux AMD64, this fails for me:

./python -m test -uall test___all__ test_atexit test_audit test_ast test_argparse test_gc[...]test test_gc failed -- Traceback (most recent call last):  File"/home/nas/src/cpython/Lib/contextlib.py", line85, ininnerreturn func(*args,**kwds)  File"/home/nas/src/cpython/Lib/test/test_gc.py", line1184, intest_incremental_gc_handles_fast_cycle_creationself.assertLess(new_objects,27_000,f"Heap growing. Reached limit after{i} iterations")~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^AssertionError:27013 not less than 27000 : Heap growing. Reached limit after 6579 iterations

The exact set of tests required beforetest_gc seems to depend on other factors. More reliable command might be:

./python -m test -uall test___all__ test_buffer test_atexit test_audit test_bigaddrspace test_bdb test_abc test_bufio test_ast test_base64 test_annotationlib test_baseexception test__colorize test__interpreters test_asyncgen test_augassign test_bigmem test_binascii test_bz2 test_abstract_numbers test__osx_support test_c_locale_coercion test_bool test_argparse test_gc

CPython versions tested on:

CPython main branch

Operating systems tested on:

Linux

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    testsTests 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


      [8]ページ先頭

      ©2009-2025 Movatter.jp