mirror of
https://github.com/python/cpython.git
synced 2025-11-03 03:22:27 +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
|
a.foo = 12
|
||||||
x = a.foo
|
x = a.foo
|
||||||
del a.foo
|
del a.foo
|
||||||
verify(log == [('getattr', '__setattr__'),
|
verify(log == [("setattr", "foo", 12),
|
||||||
("setattr", "foo", 12),
|
|
||||||
("getattr", "foo"),
|
("getattr", "foo"),
|
||||||
('getattr', '__delattr__'),
|
|
||||||
("delattr", "foo")], log)
|
("delattr", "foo")], log)
|
||||||
|
|
||||||
def multi():
|
def multi():
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue