These are chat archives for astropy/astropy
@eteq Thanks for the answer. I ended up with
from astropy.tests.pytest_plugins import * from astropy.tests.pytest_plugins import pytest_addoption as aph_pytest_addoption def pytest_addoption(parser): aph_pytest_addoption(parser) < our code>
Which is essentially the same.
Writing a dynamic solution would be as simple as looping over the two variables.
But as there currently is no huge advantage and this feature isn't demanded I'd postpone a proper PR to astropy.
If you whish for the feature to be implemented, just contact me.