spacetelescope / pandokia

Regression tests framework.
Other
2 stars 4 forks source link

Fix deprecation warning in pytest plugin #16

Closed jhunkeler closed 3 years ago

jhunkeler commented 6 years ago

Prevents this message...

None
  pytest_funcarg__pdk_test_name: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0.  Please remove the prefix and use the @pytest.fixture decorator instead.

-- Docs: http://doc.pytest.org/en/latest/warnings.html
vglaidler commented 3 years ago

This will bite us for astropy 4.3 (which includes the new version of pytest)

ariedel commented 3 years ago

The work in this case was testing Astropy 4.3RC1 (https://github.com/astropy/astropy/wiki/v4.3-RC-testing) and this PR fixes the pytest crash that prevented the astropy test suite from running.

ariedel commented 3 years ago

I am merging this.