[Python-checkins] CVS: python/dist/src/Lib/test test_descr.py,1.65,1.66

Guido van Rossum gvanrossum@users.sourceforge.net
2001年9月20日 14:39:09 -0700


Update of /cvsroot/python/python/dist/src/Lib/test
In directory usw-pr-cvs1:/tmp/cvs-serv4166
Modified Files:
	test_descr.py 
Log Message:
Change testdescr.py to use the test_main() approach.
Index: test_descr.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_descr.py,v
retrieving revision 1.65
retrieving revision 1.66
diff -C2 -d -r1.65 -r1.66
*** test_descr.py	2001年09月19日 01:25:16	1.65
--- test_descr.py	2001年09月20日 21:39:07	1.66
***************
*** 1953,1957 ****
 
 
! def all():
 lists()
 dicts()
--- 1953,1957 ----
 
 
! def test_main():
 lists()
 dicts()
***************
*** 1993,1998 ****
 rich_comparisons()
 coercions()
! 
! all()
 
! if verbose: print "All OK"
--- 1993,1998 ----
 rich_comparisons()
 coercions()
! if verbose: print "All OK"
 
! if __name__ == "__main__":
! test_main()

AltStyle によって変換されたページ (->オリジナル) /