From e1b6a9ac99df104045a5297028ff8a614eb6353f Mon Sep 17 00:00:00 2001 From: Alexander Belopolsky Date: Tue, 14 Sep 2010 01:11:35 +0000 Subject: [PATCH] Added files missed in r84780. Thanks, Florent. --- Lib/test/tracedmodules/__init__.py | 9 +++++++++ Lib/test/tracedmodules/testmod.py | 3 +++ 2 files changed, 12 insertions(+) create mode 100644 Lib/test/tracedmodules/__init__.py create mode 100644 Lib/test/tracedmodules/testmod.py diff --git a/Lib/test/tracedmodules/__init__.py b/Lib/test/tracedmodules/__init__.py new file mode 100644 index 00000000000..4628d8a3a37 --- /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 00000000000..a4c25e4b3c7 --- /dev/null +++ b/Lib/test/tracedmodules/testmod.py @@ -0,0 +1,3 @@ +def func(x): + b = x + 1 + return b + 2