[Python-checkins] python/dist/src/Lib/test test_trace.py, 1.13, 1.13.4.1

bwarsaw@users.sourceforge.net bwarsaw at users.sourceforge.net
Mon Aug 15 19:33:07 CEST 2005


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

Modified Files:
      Tag: release24-maint
	test_trace.py 
Log Message:
Fix for SF bug # 900092, hotshot.stats.load assertion failure.  This patch
restores the tracing of a 'return' event for exceptions that cause a function
to exit.  Also, update the unit test.

I will port to Python 2.5.


Index: test_trace.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_trace.py,v
retrieving revision 1.13
retrieving revision 1.13.4.1
diff -u -d -r1.13 -r1.13.4.1
--- test_trace.py	22 Mar 2004 19:30:39 -0000	1.13
+++ test_trace.py	15 Aug 2005 17:32:56 -0000	1.13.4.1
@@ -97,6 +97,7 @@
                      (-3, 'call'),
                      (-2, 'line'),
                      (-2, 'exception'),
+                     (-2, 'return'),
                      (2, 'exception'),
                      (3, 'line'),
                      (4, 'line'),



More information about the Python-checkins mailing list