summaryrefslogtreecommitdiff
path: root/tests/lexers/pytb/example4.txt
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lexers/pytb/example4.txt')
-rw-r--r--tests/lexers/pytb/example4.txt16
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/lexers/pytb/example4.txt b/tests/lexers/pytb/example4.txt
new file mode 100644
index 00000000..ed84ad7a
--- /dev/null
+++ b/tests/lexers/pytb/example4.txt
@@ -0,0 +1,16 @@
+---input---
+ File "temp.py", line 1
+SyntaxError: Non-ASCII character '\xc3' in file temp.py on line 1, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details
+
+---tokens---
+'' Generic.Traceback
+' File ' Text
+'"temp.py"' Name.Builtin
+', line ' Text
+'1' Literal.Number
+'\n' Text
+
+'SyntaxError' Generic.Error
+': ' Text
+"Non-ASCII character '\\xc3' in file temp.py on line 1, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details" Name
+'\n' Text