commit | 9d17da33e2dcc51c73fdebe737eb1b9317ee69cd | [log] [tgz] |
---|---|---|
author | Alexander Belopolsky <alexander.belopolsky@gmail.com> | Mon Sep 13 16:45:02 2010 +0000 |
committer | Alexander Belopolsky <alexander.belopolsky@gmail.com> | Mon Sep 13 16:45:02 2010 +0000 |
tree | 4437e3ee2328f9cb83391f81338261c19e2c1e7e | |
parent | c0c0b146718f3098397c287d2e03028f486606ee [diff] [blame] |
Issue #9315: Fix for the trace module to record correct class name when tracing methods. Unit tests. Patch by Eli Bendersky.
diff --git a/Lib/test/tracedmodules/testmod.py b/Lib/test/tracedmodules/testmod.py new file mode 100644 index 0000000..a4c25e4 --- /dev/null +++ b/Lib/test/tracedmodules/testmod.py
@@ -0,0 +1,3 @@ +def func(x): + b = x + 1 + return b + 2