summaryrefslogtreecommitdiff
path: root/tests/functional/t/tokenize_error_jython.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/functional/t/tokenize_error_jython.py')
-rw-r--r--tests/functional/t/tokenize_error_jython.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/functional/t/tokenize_error_jython.py b/tests/functional/t/tokenize_error_jython.py
new file mode 100644
index 000000000..205f5fc6b
--- /dev/null
+++ b/tests/functional/t/tokenize_error_jython.py
@@ -0,0 +1,7 @@
+# [syntax-error]
+"""A module that is accepted by Python but rejected by tokenize.
+
+The problem is the trailing line continuation at the end of the line,
+which produces a TokenError."""
+
+""\