summaryrefslogtreecommitdiffstats
path: root/Lib/test/output/test_exceptions
blob: 28a7aa8390feff98361eb7af1fe1ca6906dd8ff1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
test_exceptions
5. Built-in exceptions
spam
AttributeError
spam
EOFError
spam
IOError
spam
ImportError
spam
IndexError
'spam'
KeyError
spam
KeyboardInterrupt
(not testable in a script)
spam
MemoryError
(not safe to test)
spam
NameError
spam
OverflowError
spam
RuntimeError
(not used any more?)
spam
SyntaxError
'continue' not supported inside 'finally' clause
ok
'continue' not properly in loop
ok
'continue' not properly in loop
ok
spam
IndentationError
spam
TabError
spam
SystemError
(hard to reproduce)
spam
SystemExit
spam
TypeError
spam
ValueError
spam
ZeroDivisionError
spam
Exception