diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2010-04-01 17:56:57 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2010-04-01 17:56:57 (GMT) |
commit | b5023df3d6d46c7a220eb1db0c2db8cbe8a881fc (patch) | |
tree | 22febef2ee521db8a896807b85cf19d9a45e649d /Lib/test/gdb_sample.py | |
parent | 76c8649038bed4598c7fcac9ef87548f94013087 (diff) | |
download | cpython-b5023df3d6d46c7a220eb1db0c2db8cbe8a881fc.zip cpython-b5023df3d6d46c7a220eb1db0c2db8cbe8a881fc.tar.gz cpython-b5023df3d6d46c7a220eb1db0c2db8cbe8a881fc.tar.bz2 |
Issue #8281: rename test_gdb_sample.py to gdb_sample.py, otherwise it gets picked
as a regular test by regrtest.py, and fails.
Diffstat (limited to 'Lib/test/gdb_sample.py')
-rw-r--r-- | Lib/test/gdb_sample.py | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Lib/test/gdb_sample.py b/Lib/test/gdb_sample.py new file mode 100644 index 0000000..a732b25 --- /dev/null +++ b/Lib/test/gdb_sample.py @@ -0,0 +1,12 @@ +# Sample script for use by test_gdb.py + +def foo(a, b, c): + bar(a, b, c) + +def bar(a, b, c): + baz(a, b, c) + +def baz(*args): + print(42) + +foo(1, 2, 3) |