Skip to content

xfail: mismatch between docs and the actual behaviour #3907

@hoefling

Description

@hoefling

I know this is kinda nitpicky, but for the sake of completeness:

The docs state:

If you want to be more specific as to why the test is failing, you can specify a single exception, or a list of exceptions, in the raises argument.

However, the actual implementation of the xfail marker expects a tuple instead of a list, raising an internal error otherwise. May I suggest to replace list with tuple in the above sentence?

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issueeasy issue that is friendly to new contributortype: docsdocumentation improvement, missing or needing clarification

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions