mirror of
https://github.com/python/cpython
synced 2026-09-29 12:10:30 +03:00
Fix one test to reflect the change in method lookup policy.
This commit is contained in:
parent
607187325f
commit
a5be8eda37
1 changed files with 1 additions and 2 deletions
|
|
@ -441,8 +441,7 @@ def pymods():
|
|||
a.foo = 12
|
||||
x = a.foo
|
||||
del a.foo
|
||||
verify(log == [('getattr', '__init__'),
|
||||
('getattr', '__setattr__'),
|
||||
verify(log == [('getattr', '__setattr__'),
|
||||
("setattr", "foo", 12),
|
||||
("getattr", "foo"),
|
||||
('getattr', '__delattr__'),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue