Fix the test again due to fewer calls to __getattr__.

This commit is contained in:
Guido van Rossum 2001-08-28 18:23:24 +00:00
parent 2730b13202
commit ce129a5e79
1 changed files with 1 additions and 3 deletions

View File

@ -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():