summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorNicholas Bastin <nick.bastin@gmail.com>2004-03-22 19:23:46 (GMT)
committerNicholas Bastin <nick.bastin@gmail.com>2004-03-22 19:23:46 (GMT)
commitee6c9b8613336912bea827b607f7454c5368cd57 (patch)
tree3a0cb3ceac5b82d637542932df69fcda5aed48b3 /Lib
parentfa7bec7e837e99aaa77009d324935c0ffca6891d (diff)
downloadcpython-ee6c9b8613336912bea827b607f7454c5368cd57.zip
cpython-ee6c9b8613336912bea827b607f7454c5368cd57.tar.gz
cpython-ee6c9b8613336912bea827b607f7454c5368cd57.tar.bz2
Fix (really) for tight loop line events
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_trace.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/test/test_trace.py b/Lib/test/test_trace.py
index 4103794..6aac8df 100644
--- a/Lib/test/test_trace.py
+++ b/Lib/test/test_trace.py
@@ -147,7 +147,7 @@ def tightloop_example():
try:
i = 0
while 1:
- print items[i]; i+=1
+ b = items[i]; i+=1
except IndexError:
pass
@@ -159,6 +159,7 @@ tightloop_example.events = [(0, 'call'),
(5, 'line'),
(5, 'line'),
(5, 'line'),
+ (5, 'line'),
(5, 'exception'),
(6, 'line'),
(7, 'line'),