Skip to content

Problem running trio's tests when pytest-trio is installed #43

Closed

Description

@njsmith

I'm not sure exactly how to reproduce this, but there's some discussion between @tgoodlet and @smurfix here: https://gitter.im/python-trio/general?at=5b213da437a2df7bed39c33b

My suspicion is that the problem is currently pytest-trio checks whether a test has trio as a keyword, and that this is slightly different than having trio as a mark. If that's right, then the solution is to switch to using get_marker or the newer get_closest_marker: https://docs.pytest.org/en/latest/mark.html#marker-revamp-and-iteration

Activity

  1. goodboy commented on Jun 15, 2018

    @goodboy
    Member

    I'll gladly take this for the weekend :)

  2. self-assigned this
    on Jun 15, 2018
  3. added 3 commits that reference this issue on Jul 24, 2018
    e2a7e4a
    29be010
    2036d76
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions