diff options
author | Alexander Belopolsky <alexander.belopolsky@gmail.com> | 2010-09-13 18:38:54 (GMT) |
---|---|---|
committer | Alexander Belopolsky <alexander.belopolsky@gmail.com> | 2010-09-13 18:38:54 (GMT) |
commit | 9665637d44a186374629b0016143d5eb48ca3252 (patch) | |
tree | d809ebbf5b7fe1b16d49ae89bfbc6141285b4d34 /Lib/test/tracedmodules | |
parent | 9ad66d2032a00b3af9cfccdca3edb59eb9cce64c (diff) | |
download | cpython-9665637d44a186374629b0016143d5eb48ca3252.zip cpython-9665637d44a186374629b0016143d5eb48ca3252.tar.gz cpython-9665637d44a186374629b0016143d5eb48ca3252.tar.bz2 |
Merged revisions 84780-84781 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
with some manual fixes
........
r84780 | alexander.belopolsky | 2010-09-13 14:14:34 -0400 (Mon, 13 Sep 2010) | 3 lines
Issue #9315: Fix for the trace module to record correct class name
when tracing methods. Unit tests. Patch by Eli Bendersky.
........
r84781 | alexander.belopolsky | 2010-09-13 14:15:33 -0400 (Mon, 13 Sep 2010) | 1 line
Removed debugging setting
........
Diffstat (limited to 'Lib/test/tracedmodules')
-rw-r--r-- | Lib/test/tracedmodules/__init__.py | 9 | ||||
-rw-r--r-- | Lib/test/tracedmodules/testmod.py | 3 |
2 files changed, 12 insertions, 0 deletions
diff --git a/Lib/test/tracedmodules/__init__.py b/Lib/test/tracedmodules/__init__.py new file mode 100644 index 0000000..4628d8a --- /dev/null +++ b/Lib/test/tracedmodules/__init__.py @@ -0,0 +1,9 @@ +"""This package contains modules that help testing the trace.py module. Note +that the exact location of functions in these modules is important, as trace.py +takes the real line numbers into account. +""" +"""This directory contains modules that help testing the trace.py module. Note +that the exact location of functions in these modules is important, as trace.py +takes the real line numbers into account. + +""" 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 |