Skip to content

CI seems broken due to Pytest update #201

Closed

Description

@guillaumeeb

We keep getting the error:

>           envname = envmarker.args[0]
E           _pytest.warning_types.RemovedInPytest4Warning: MarkInfo objects are deprecated as they contain merged marks which are hard to deal with correctly.
E           Please use node.get_closest_marker(name) or node.iter_markers(name).
E           Docs: https://docs.pytest.org/en/latest/mark.html#updating-code

for some tests using markers.

Activity

  1. mrocklin commented on Nov 20, 2018

    @mrocklin
    Member
  2. guillaumeeb commented on Nov 20, 2018

    @guillaumeeb
    MemberAuthor

    Fixed by #203.

    This probably only affected dask-jobqueue because we are using a custom conftest.py wich defines a new kind of marker.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions