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

Backports: edeca92c84a3b08902ecdfe987cde00c7e617887
Signed-off-by: Chris Withers <chris@simplistix.co.uk>
3 files changed