-
Mario Corchero yazdı
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).
0df635c7
Adı |
Son kayıt (commit)
|
Son güncelleme |
---|---|---|
.. | ||
__init__.py | ||
__main__.py | ||
support.py | ||
testcallable.py | ||
testhelpers.py | ||
testmagicmethods.py | ||
testmock.py | ||
testpatch.py | ||
testsealable.py | ||
testsentinel.py | ||
testwith.py |