Skip to content

test_capi fails if run with --forever argument#105273

@Eclips4

Description

@Eclips4

Tried on current main:
Fails on test_capi/test_misc/TestOptimizerAPI.test_counter_optimizer

./python-mtest-vtest_capi-mtest_misc-mTestOptimizerAPI--forever ... manylines======================================================================FAIL: test_counter_optimizer (test.test_capi.test_misc.TestOptimizerAPI.test_counter_optimizer) ----------------------------------------------------------------------Traceback (mostrecentcalllast): File"C:\Users\KIRILL-1\CLionProjects\cpython\Lib\test\test_capi\test_misc.py", line1929, intest_counter_optimizerself.assertEqual(opt.get_count(), 1000) AssertionError: 0!=1000----------------------------------------------------------------------Ran168testsin6.590sFAILED (failures=1, skipped=5) testtest_capifailedtest_capifailed (1failure) ==Testsresult: FAILURE==1testOK. 1testfailed: test_capiTotalduration: 13.2secTestsresult: FAILURE

Metadata

Metadata

Assignees

No one assigned

    Labels

    type-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions