diff options
author | Barry Warsaw <barry@python.org> | 2005-08-15 17:32:56 (GMT) |
---|---|---|
committer | Barry Warsaw <barry@python.org> | 2005-08-15 17:32:56 (GMT) |
commit | 190a336331739dff1803b0780b58d58607d903bd (patch) | |
tree | 210f9ab9d626fd7cbf57b5368db240576df65dc9 /Lib | |
parent | ccb5e4dd6527b19e1bfd1c3247deddaa6b12eddd (diff) | |
download | cpython-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.py | 1 |
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'), |