Closed larsoner closed 2 days ago
py313 failures look unrelated
I pushed some commits to do a bit of inspect
magic to figure out where to emit the warning by traversing the stack until out of the _pytest
module. FWIW I adapted it from some code we've used for at least 5 years over in MNE-Python without any real issues. Happy to continue down this path if it seems useful or fine with closing if it seems too magical!
Yep, too magical -- tests fail because it ends up in the _hypothesis_pytestplugin.py
namespace. I'll close!
Similar to #12014, improves this warning:
to become: