summaryrefslogtreecommitdiff
path: root/Lib/test/nocaret.py
diff options
context:
space:
mode:
authorJeremy Hylton <jeremy@alum.mit.edu>2001-03-21 20:33:04 +0000
committerJeremy Hylton <jeremy@alum.mit.edu>2001-03-21 20:33:04 +0000
commit09ccc3a22a95e6b399f82297e95fed809af257ec (patch)
treeb01f28e2b003de6bff2f13e9beca8bcb38df184a /Lib/test/nocaret.py
parented9d0ba48242e8a0b1b6942c489da28e7025cd4b (diff)
downloadcpython-git-09ccc3a22a95e6b399f82297e95fed809af257ec.tar.gz
Test that traceback module works with SyntaxErrors with or without carets.
Diffstat (limited to 'Lib/test/nocaret.py')
-rw-r--r--Lib/test/nocaret.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/test/nocaret.py b/Lib/test/nocaret.py
new file mode 100644
index 0000000000..01ec9ea5f0
--- /dev/null
+++ b/Lib/test/nocaret.py
@@ -0,0 +1,2 @@
+def f(x):
+ [x for x in x] = x