Open pllim opened 7 years ago
The warning (on pytest 3.5.2, the version in JWST's Third Party 9.2):
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.
And on a more modern version of pytest (4.6.2) it gives this error: INTERNALERROR> PluginValidationError: unknown hook 'pytest_funcarg__pdk_test_name' in plugin <module 'pandokia.helpers.pytest_plugin' from '/Users/riedel/anacondab/envs/pandeia_9.2/lib/python2.7/site-packages/pandokia-2.4.1-py2.7.egg/pandokia/helpers/pytest_plugin.py'>
Fortunately, that @pytest.fixture decorator is a drop-in replacement (I tried it).
Fun fun fun... I see this when running pytest 3.0.4 on something else. I was not even using pandokia but somehow pytest has a hook to it in my "stsci" environment.