Skip to content

Add a returncode argument to pytest.exit #4098

@nicoddemus

Description

@nicoddemus

As discussed in #3574 (comment), pytest.exit() could receive a returncode argument to cleanly exit pytest.

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issueeasy issue that is friendly to new contributortype: enhancementnew feature or API change, should be merged into features branchtype: proposalproposal for a new feature, often to gather opinions or design the API around the new feature

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions