summaryrefslogtreecommitdiff
path: root/tests/examplefiles/pycon_test.pycon
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2016-01-17 17:00:26 +0100
committerGeorg Brandl <georg@python.org>2016-01-17 17:00:26 +0100
commitfc55dc2e95bcea03fbc0d8e1d130c9e53f3f1dad (patch)
tree2a06d2fac7321452513bda7739e297a7e9848ec4 /tests/examplefiles/pycon_test.pycon
downloadpygments-git-fc55dc2e95bcea03fbc0d8e1d130c9e53f3f1dad.tar.gz
merge default into stable
Diffstat (limited to 'tests/examplefiles/pycon_test.pycon')
-rw-r--r--tests/examplefiles/pycon_test.pycon17
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/examplefiles/pycon_test.pycon b/tests/examplefiles/pycon_test.pycon
new file mode 100644
index 00000000..9c4fc3d3
--- /dev/null
+++ b/tests/examplefiles/pycon_test.pycon
@@ -0,0 +1,17 @@
+>>> :
+ File "<stdin>", line 1
+ :
+ ^
+SyntaxError: invalid syntax
+>>>
+KeyboardInterrupt
+>>>
+
+>>> 1/0
+Traceback (most recent call last):
+ ...
+ZeroDivisionError
+
+>>> 1/0 # this used to swallow the traceback
+Traceback (most recent call last):
+ ...