SIGN IN SIGN UP

Don't report deleted attributes in __dir__ (GH#10148)

When an attribute is deleted from a Mock, a sentinel is added rather
than just deleting the attribute. This commit checks for such sentinels
when returning the child mocks in the __dir__ method as users won't
expect deleted attributes to appear when performing dir(mock).
M
Mario Corchero committed
0df635c7f8aa69e56a092bd4f142f0f164741ab2
Parent: d537ab0
Committed by Chris Withers <chris@withers.org> on 4/30/2019, 6:56:36 PM