mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
Fix the test again due to fewer calls to __getattr__.
This commit is contained in:
parent
2730b13202
commit
ce129a5e79
1 changed files with 1 additions and 3 deletions
|
@ -441,10 +441,8 @@ def pymods():
|
|||
a.foo = 12
|
||||
x = a.foo
|
||||
del a.foo
|
||||
verify(log == [('getattr', '__setattr__'),
|
||||
("setattr", "foo", 12),
|
||||
verify(log == [("setattr", "foo", 12),
|
||||
("getattr", "foo"),
|
||||
('getattr', '__delattr__'),
|
||||
("delattr", "foo")], log)
|
||||
|
||||
def multi():
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue