Skip to content

exit code 2 when using '-x' flag #2832

Description

@cmccandless

pytest v3.2.1

Conditions:

A test fails while running pytest -x

Expected Behavior:

Exit code is 1 (according to usage)

Actual Behavior:

Exit code is 2

Confirmed environments:

  • Windows, Python3
  • Windows, Python2
  • Linux, Python3
  • Linux, Python2

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: help wanteddevelopers would like help from experts on this topictype: backward compatibilitymight present some backward compatibility issues which should be carefully noted in the changelogtype: bugproblem that needs to be addressed

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions