[Python-checkins] python/dist/src/Lib/test test_sets.py,1.30,1.31

rhettinger at users.sourceforge.net rhettinger at users.sourceforge.net
Sat Aug 7 08:15:14 CEST 2004


Update of /cvsroot/python/python/dist/src/Lib/test
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27013

Modified Files:
	test_sets.py 
Log Message:
Exercise DocTestSuite's search for __test__.



Index: test_sets.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_sets.py,v
retrieving revision 1.30
retrieving revision 1.31
diff -C2 -d -r1.30 -r1.31
*** test_sets.py	12 Feb 2004 17:35:11 -0000	1.30
--- test_sets.py	7 Aug 2004 06:15:12 -0000	1.31
***************
*** 807,811 ****
  
  def test_main(verbose=None):
!     from test import test_sets
      test_support.run_unittest(
          TestSetOfSets,
--- 807,811 ----
  
  def test_main(verbose=None):
!     import test_sets, doctest
      test_support.run_unittest(
          TestSetOfSets,
***************
*** 836,841 ****
          TestCopyingNested,
          TestIdentities,
      )
-     test_support.run_doctest(test_sets, verbose)
  
  if __name__ == "__main__":
--- 836,841 ----
          TestCopyingNested,
          TestIdentities,
+         doctest.DocTestSuite(test_sets),
      )
  
  if __name__ == "__main__":



More information about the Python-checkins mailing list