• Mario Corchero's avatar
    Don't report deleted attributes in __dir__ (GH#10148) · 0df635c7
    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
..
test Loading commit data...
__init__.py Loading commit data...
__main__.py Loading commit data...
case.py Loading commit data...
loader.py Loading commit data...
main.py Loading commit data...
mock.py Loading commit data...
result.py Loading commit data...
runner.py Loading commit data...
signals.py Loading commit data...
suite.py Loading commit data...
util.py Loading commit data...