[Python-checkins] python/dist/src/Lib doctest.py,1.39,1.40

tim_one at users.sourceforge.net tim_one at users.sourceforge.net
Sat Aug 7 08:03:10 CEST 2004


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

Modified Files:
	doctest.py 
Log Message:
Whitespace normalization.


Index: doctest.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/doctest.py,v
retrieving revision 1.39
retrieving revision 1.40
diff -C2 -d -r1.39 -r1.40
*** doctest.py	6 Aug 2004 22:02:59 -0000	1.39
--- doctest.py	7 Aug 2004 06:03:08 -0000	1.40
***************
*** 1602,1606 ****
      def __str__(self):
          return str(self.test)
!     
  class DebugRunner(DocTestRunner):
      r"""Run doc tests but raise an exception as soon as there is a failure.
--- 1602,1606 ----
      def __str__(self):
          return str(self.test)
! 
  class DebugRunner(DocTestRunner):
      r"""Run doc tests but raise an exception as soon as there is a failure.
***************
*** 1674,1678 ****
           ...
           UnexpectedException: <DocTest foo from foo.py:0 (2 examples)>
!          
           >>> del test.globs['__builtins__']
           >>> test.globs
--- 1674,1678 ----
           ...
           UnexpectedException: <DocTest foo from foo.py:0 (2 examples)>
! 
           >>> del test.globs['__builtins__']
           >>> test.globs



More information about the Python-checkins mailing list