[Python-checkins] python/dist/src/Lib/test README,1.14,1.15

bwarsaw@users.sourceforge.net bwarsaw@users.sourceforge.net
2002年7月23日 12:13:49 -0700


Update of /cvsroot/python/python/dist/src/Lib/test
In directory usw-pr-cvs1:/tmp/cvs-serv30748
Modified Files:
	README 
Log Message:
A few updates about how/where to import test_support from.
Index: README
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/README,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -d -r1.14 -r1.15
*** README	23 Jul 2002 19:03:42 -0000	1.14
--- README	23 Jul 2002 19:13:45 -0000	1.15
***************
*** 86,90 ****
 provides a convenient example:
 
! import difflib, test_support
 test_support.run_doctest(difflib)
 
--- 86,91 ----
 provides a convenient example:
 
! import difflib
! from test import test_support
 test_support.run_doctest(difflib)
 
***************
*** 102,107 ****
 
 def test_main(verbose=None):
! import test_support, test.test_descrtut
! test_support.run_doctest(test.test_descrtut, verbose)
 
 if __name__ == "__main__":
--- 103,108 ----
 
 def test_main(verbose=None):
! from test import test_support, test_descrtut
! test_support.run_doctest(test_descrtut, verbose)
 
 if __name__ == "__main__":
***************
*** 276,280 ****
 Miscellaneous
 
! There is a test_support module in the test package you can import from
 your test case. Import this module using either
 
--- 277,281 ----
 Miscellaneous
 
! There is a test_support module in the test package you can import for
 your test case. Import this module using either
 

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