Commit d5568a36 authored by Guido van Rossum's avatar Guido van Rossum

Fix the test again due to fewer calls to __getattr__.

parent 123a6183
...@@ -441,10 +441,8 @@ def pymods(): ...@@ -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():
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment