summaryrefslogtreecommitdiffstats
path: root/Lib/test/tracedmodules
diff options
context:
space:
mode:
authorAlexander Belopolsky <alexander.belopolsky@gmail.com>2010-09-24 18:03:12 (GMT)
committerAlexander Belopolsky <alexander.belopolsky@gmail.com>2010-09-24 18:03:12 (GMT)
commitff09ce211f8390bbcbb9d9bb2863ca97f63864c5 (patch)
tree483eb1c1722e5f63b31bfe1dc6784027dff0165c /Lib/test/tracedmodules
parent5e83da3d0867c36b3cf5d63b1c72ae0615652f99 (diff)
downloadcpython-ff09ce211f8390bbcbb9d9bb2863ca97f63864c5.zip
cpython-ff09ce211f8390bbcbb9d9bb2863ca97f63864c5.tar.gz
cpython-ff09ce211f8390bbcbb9d9bb2863ca97f63864c5.tar.bz2
Issue #9936: Fixed executable lines' search in the trace module.
Diffstat (limited to 'Lib/test/tracedmodules')
-rw-r--r--Lib/test/tracedmodules/testmod.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/Lib/test/tracedmodules/testmod.py b/Lib/test/tracedmodules/testmod.py
index a4c25e4..642776e 100644
--- a/Lib/test/tracedmodules/testmod.py
+++ b/Lib/test/tracedmodules/testmod.py
@@ -1,3 +1,9 @@
def func(x):
b = x + 1
return b + 2
+
+def func2():
+ """Test function for issue 9936 """
+ return (1,
+ 2,
+ 3)