diff options
author | Jeremy Hylton <jeremy@alum.mit.edu> | 2001-03-21 20:33:04 +0000 |
---|---|---|
committer | Jeremy Hylton <jeremy@alum.mit.edu> | 2001-03-21 20:33:04 +0000 |
commit | 09ccc3a22a95e6b399f82297e95fed809af257ec (patch) | |
tree | b01f28e2b003de6bff2f13e9beca8bcb38df184a /Lib/test/nocaret.py | |
parent | ed9d0ba48242e8a0b1b6942c489da28e7025cd4b (diff) | |
download | cpython-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.py | 2 |
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 |