Skip to content

Deprecation warning due to pytest 4.3 #8431

Closed

Description

@astrofrog

The 32-bit CircleCI build is failing due to a deprecation warning/error from pytest 4.3:

https://circleci.com/gh/astropy/astropy/22883

Activity

  1. pllim commented on Feb 19, 2019

    @pllim
    Member
    >       with pytest.warns(AstropyUserWarning, catch='hdu= was not specified but '
                              'multiple tables are present'):
    E                         _pytest.warning_types.PytestDeprecationWarning: pytest.warns() got unexpected keyword arguments: ['catch'].
    E                         This will be an error in future versions.
    

    What the what? How we supposed to catch warning now?

  2. astrofrog commented on Feb 19, 2019

    @astrofrog
    MemberAuthor

    It might be match?

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions