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
`mpl.testing._copy_metadata` was basically doing the job
of `functools.update_wrapper`. We don't need to specify
`compat_co_firstlineono` either as pytest will look up the
lineno in the wrapped function (`_pytest.compat.get_real_func`,
`_pytest.compat.getfslineno`). It's also for this reason that we need
to make sure `__wrapped__` is properly set, even on Py2.
0 commit comments