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