Open
Description
I believe this may be related to #3664.
In pandas, we dynamically add a marker for our doctests so that we don't need import pandas as pd
and import numpy as np
in every docstring.
The add_doctest_imports
fixture is here.
With pytest 8.0.0, add_marker no longer has any effect. Is the intentional, and if so, is there an alternative?