[Python-checkins] python/dist/src/Lib doctest.py, 1.36.2.14,
1.36.2.15
tim_one at users.sourceforge.net
tim_one at users.sourceforge.net
Fri Aug 6 01:11:23 CEST 2004
Update of /cvsroot/python/python/dist/src/Lib
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10969
Modified Files:
Tag: tim-doctest-branch
doctest.py
Log Message:
Whitespace normalization.
Index: doctest.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/doctest.py,v
retrieving revision 1.36.2.14
retrieving revision 1.36.2.15
diff -C2 -d -r1.36.2.14 -r1.36.2.15
*** doctest.py 5 Aug 2004 21:38:50 -0000 1.36.2.14
--- doctest.py 5 Aug 2004 23:11:21 -0000 1.36.2.15
***************
*** 1472,1478 ****
>>> failure.got
'1\n'
!
"""
!
def report_unexpected_exception(self, out, test, example, exc_info):
raise exc_info[0], exc_info[1], exc_info[2]
--- 1472,1478 ----
>>> failure.got
'1\n'
!
"""
!
def report_unexpected_exception(self, out, test, example, exc_info):
raise exc_info[0], exc_info[1], exc_info[2]
***************
*** 1572,1576 ****
first unexpected exception or failure. This allows failures to be
post-mortem debugged.
!
"""
--- 1572,1576 ----
first unexpected exception or failure. This allows failures to be
post-mortem debugged.
!
"""
***************
*** 1834,1838 ****
def __repr__(self):
! return self._dt_test.filename
__str__ = __repr__
--- 1834,1838 ----
def __repr__(self):
! return self._dt_test.filename
__str__ = __repr__
***************
*** 1856,1860 ****
test_runner = DocTestRunner(optionflags=optionflags, verbose=False)
test = DocTest(doc, globs, name, path, 0)
!
return DocTestFileTestCase(test_runner, test, setUp, tearDown)
--- 1856,1860 ----
test_runner = DocTestRunner(optionflags=optionflags, verbose=False)
test = DocTest(doc, globs, name, path, 0)
!
return DocTestFileTestCase(test_runner, test, setUp, tearDown)
***************
*** 1892,1896 ****
# would be the caller and we might guess the package incorrectly.
kw['package'] = _normalize_module(kw.get('package'))
!
for path in paths:
suite.addTest(DocFileTest(path, **kw))
--- 1892,1896 ----
# would be the caller and we might guess the package incorrectly.
kw['package'] = _normalize_module(kw.get('package'))
!
for path in paths:
suite.addTest(DocFileTest(path, **kw))
***************
*** 1931,1935 ****
... ... blah
... ...
! ...
... Ho hum
... '''
--- 1931,1935 ----
... ... blah
... ...
! ...
... Ho hum
... '''
***************
*** 1958,1962 ****
blah
blah
! <BLANKLINE>
#
# Ho hum
--- 1958,1962 ----
blah
blah
! <BLANKLINE>
#
# Ho hum
More information about the Python-checkins
mailing list