summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorBarry Warsaw <barry@python.org>2005-08-15 17:32:56 (GMT)
committerBarry Warsaw <barry@python.org>2005-08-15 17:32:56 (GMT)
commit190a336331739dff1803b0780b58d58607d903bd (patch)
tree210f9ab9d626fd7cbf57b5368db240576df65dc9 /Lib
parentccb5e4dd6527b19e1bfd1c3247deddaa6b12eddd (diff)
downloadcpython-190a336331739dff1803b0780b58d58607d903bd.zip
cpython-190a336331739dff1803b0780b58d58607d903bd.tar.gz
cpython-190a336331739dff1803b0780b58d58607d903bd.tar.bz2
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.
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_trace.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_trace.py b/Lib/test/test_trace.py
index f85c669..7f866fb 100644
--- a/Lib/test/test_trace.py
+++ b/Lib/test/test_trace.py
@@ -97,6 +97,7 @@ test_raise.events = [(0, 'call'),
(-3, 'call'),
(-2, 'line'),
(-2, 'exception'),
+ (-2, 'return'),
(2, 'exception'),
(3, 'line'),
(4, 'line'),