Skip to content

test_ioctl is skipped because of setsid() #119273

Closed
@vstinner

Description

@vstinner

Python test runner "regrtest" uses process groups to be able to kill child processes of worker processes. Tests are run in subprocesses to run them in parallel and to catch bugs.

Problem: if setsid() is called (after fork), test_ioctl fails to open /dev/tty.

I propose to not use setsid() when running tests using TTY, such as test_ioctl.

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    testsTests in the Lib/test dir

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions