Skip to content

test_repl_eio raises ResourceWarnings on Raspbian #139805

@StanFromIreland

Description

@StanFromIreland

Bug report

Bug description:

This has popped up on two buildbots:

ERROR: test_repl_eio (test.test_pyrepl.test_unix_console.TestUnixConsoleEIOHandling.test_repl_eio)
Warning -- Unraisable exception
ResourceWarning: subprocess 983916 is still running
Warning -- Unraisable exception
ResourceWarning: unclosed file <_io.FileIO name=7 mode='rb' closefd=True>
Warning -- Unraisable exception
ResourceWarning: unclosed file <_io.FileIO name=9 mode='rb' closefd=True>
Re-running test_pyrepl in verbose mode (matching: test_repl_eio)

There have been previous issues with this test, it timed out in the CI (c985822).
Examples, this happens quite frequently:

CPython versions tested on:

CPython main branch, 3.14

Operating systems tested on:

Other

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    testsTests in the Lib/test dirtopic-replRelated to the interactive shelltype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions