diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2006-08-04 04:58:47 (GMT) |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2006-08-04 04:58:47 (GMT) |
commit | 4ffedadb1032a4310e756d476310d056ad209310 (patch) | |
tree | d4264e87636a40444a15cb090658375d43bc8d11 /Lib/test | |
parent | ff4b63b80f36fdeac1338f32ec2c4eb689b78e49 (diff) | |
download | cpython-4ffedadb1032a4310e756d476310d056ad209310.zip cpython-4ffedadb1032a4310e756d476310d056ad209310.tar.gz cpython-4ffedadb1032a4310e756d476310d056ad209310.tar.bz2 |
Bug #1191458: tracing over for loops now produces a line event
on each iteration. I'm not positive this is the best way to handle
this. I'm also not sure that there aren't other cases where
the lnotab is generated incorrectly. It would be great if people
that use pdb or tracing could test heavily.
Also:
* Remove dead/duplicated code that wasn't used/necessary
because we already handled the docstring prior to entering the loop.
* add some debugging code into the compiler (#if 0'd out).
Diffstat (limited to 'Lib/test')
-rw-r--r-- | Lib/test/test_trace.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_trace.py b/Lib/test/test_trace.py index 4f946f7..08aec8e 100644 --- a/Lib/test/test_trace.py +++ b/Lib/test/test_trace.py @@ -244,8 +244,8 @@ class TraceTestCase(unittest.TestCase): self.run_test(one_instr_line) def test_04_no_pop_blocks(self): self.run_test(no_pop_blocks) -## def test_05_no_pop_tops(self): -## self.run_test(no_pop_tops) + def test_05_no_pop_tops(self): + self.run_test(no_pop_tops) def test_06_call(self): self.run_test(call) def test_07_raise(self): |