You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Python 3.12 added the `skip_file_prefixes` argument, which essentially
does what this helper function does for us.
Technically, I think the old implementation would set the stack level to
the tests, if called in one, but this one doesn't. However, that
shouldn't be a problem, as either 1) warnings are errors, or 2), we
catch the warning with `pytest.warns` and don't see the stack level.
0 commit comments