diff options
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 |