[Python-checkins] CVS: python/dist/src/Lib/test test_descr.py,1.23,1.24
Guido van Rossum
gvanrossum@users.sourceforge.net
2001年8月28日 11:23:26 -0700
Update of /cvsroot/python/python/dist/src/Lib/test
In directory usw-pr-cvs1:/tmp/cvs-serv16884
Modified Files:
test_descr.py
Log Message:
Fix the test again due to fewer calls to __getattr__.
Index: test_descr.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_descr.py,v
retrieving revision 1.23
retrieving revision 1.24
diff -C2 -d -r1.23 -r1.24
*** test_descr.py 2001年08月28日 17:58:55 1.23
--- test_descr.py 2001年08月28日 18:23:24 1.24
***************
*** 442,449 ****
x = a.foo
del a.foo
! verify(log == [('getattr', '__setattr__'),
! ("setattr", "foo", 12),
("getattr", "foo"),
- ('getattr', '__delattr__'),
("delattr", "foo")], log)
--- 442,447 ----
x = a.foo
del a.foo
! verify(log == [("setattr", "foo", 12),
("getattr", "foo"),
("delattr", "foo")], log)