[Checkins]
SVN: zope.testing/branches/nikhil_n-py25/src/zope/testing/doctest.py
fixed problems in output redirection caused by pdb changes in
python2.5
nikhil n
nikhil.n.n at gmail.com
Thu May 31 15:02:04 EDT 2007
Log message for revision 76053:
fixed problems in output redirection caused by pdb changes in python2.5
Changed:
U zope.testing/branches/nikhil_n-py25/src/zope/testing/doctest.py
-=-
Modified: zope.testing/branches/nikhil_n-py25/src/zope/testing/doctest.py
===================================================================
--- zope.testing/branches/nikhil_n-py25/src/zope/testing/doctest.py 2007-05-31 18:51:07 UTC (rev 76052)
+++ zope.testing/branches/nikhil_n-py25/src/zope/testing/doctest.py 2007-05-31 19:02:03 UTC (rev 76053)
@@ -349,7 +349,10 @@
def __init__(self, out):
self.__out = out
self.__debugger_used = False
- pdb.Pdb.__init__(self)
+ try :
+ pdb.Pdb.__init__(self,'tab',sys.stdin,out)
+ except TypeError:
+ pdb.Pdb.__init__(self)
def set_trace(self):
self.__debugger_used = True
More information about the Checkins
mailing list