bpo-31177: Skip deleted attributes while calling reset_mock (GH-9302)

3 files changed