summaryrefslogtreecommitdiffstats
path: root/Lib/test
diff options
context:
space:
mode:
authorAlexander Belopolsky <alexander.belopolsky@gmail.com>2010-09-14 01:11:35 (GMT)
committerAlexander Belopolsky <alexander.belopolsky@gmail.com>2010-09-14 01:11:35 (GMT)
commite1b6a9ac99df104045a5297028ff8a614eb6353f (patch)
tree9298449cfa4b439c0d8d9469f4e62cb762f24a43 /Lib/test
parent98a5f3f83883a6c924cfa1360647dcbf3152ea10 (diff)
downloadcpython-e1b6a9ac99df104045a5297028ff8a614eb6353f.zip
cpython-e1b6a9ac99df104045a5297028ff8a614eb6353f.tar.gz
cpython-e1b6a9ac99df104045a5297028ff8a614eb6353f.tar.bz2
Added files missed in r84780. Thanks, Florent.
Diffstat (limited to 'Lib/test')
-rw-r--r--Lib/test/tracedmodules/__init__.py9
-rw-r--r--Lib/test/tracedmodules/testmod.py3
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