summaryrefslogtreecommitdiff
path: root/tests/examplefiles/py3tb_test.py3tb
diff options
context:
space:
mode:
authorTim Hatch <tim@timhatch.com>2013-05-09 17:47:43 -0700
committerTim Hatch <tim@timhatch.com>2013-05-09 17:47:43 -0700
commit378a7f103bba1eb23bb14bc320ae35abbc217db9 (patch)
tree3ed15543d95b87cbea09b620521bd99edcf8bb72 /tests/examplefiles/py3tb_test.py3tb
parente6ee6af9da9b8f5d38db70222bc3eca3f8a07110 (diff)
downloadpygments-378a7f103bba1eb23bb14bc320ae35abbc217db9.tar.gz
Fix Python 3 traceback parsing to handle non-file lines.
Fixes #859
Diffstat (limited to 'tests/examplefiles/py3tb_test.py3tb')
-rw-r--r--tests/examplefiles/py3tb_test.py3tb4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/examplefiles/py3tb_test.py3tb b/tests/examplefiles/py3tb_test.py3tb
new file mode 100644
index 00000000..706a540f
--- /dev/null
+++ b/tests/examplefiles/py3tb_test.py3tb
@@ -0,0 +1,4 @@
+ File "<stdin>", line 1
+ 1+
+ ^
+SyntaxError: invalid syntax