blob: 4678122fc12d055132a5a3044d5673b53e67dc8a [file] [log] [blame]
Guido van Rossum6209b971992-11-27 22:54:49 +00001test_grammar
21. Parser
31.1 Tokens
41.1.1 Backslashes
51.1.2 Numeric literals
61.1.2.1 Plain integers
71.1.2.2 Long integers
81.1.2.3 Floating point
Guido van Rossumb31c7f71993-11-11 10:31:23 +000091.1.3 String literals
Guido van Rossum6209b971992-11-27 22:54:49 +0000101.2 Grammar
11single_input
12file_input
13expr_input
14eval_input
15funcdef
16simple_stmt
17expr_stmt
Guido van Rossum6209b971992-11-27 22:54:49 +000018print_stmt
191 2 3
201 2 3
211 1 1
22del_stmt
23pass_stmt
24flow_stmt
25break_stmt
26continue_stmt
27return_stmt
28raise_stmt
29import_stmt
Guido van Rossum6209b971992-11-27 22:54:49 +000030global_stmt
Guido van Rossumb3b09c91993-10-22 14:24:22 +000031exec_stmt
Guido van Rossum6209b971992-11-27 22:54:49 +000032if_stmt
33while_stmt
34for_stmt
Guido van Rossum6209b971992-11-27 22:54:49 +000035try_stmt
36suite
37test
38comparison
39binary mask ops
40shift ops
41additive ops
42multiplicative ops
43unary ops
44selectors
45atoms
46classdef
47test_opcodes
482. Opcodes
49XXX Not yet fully implemented
502.1 try inside for loop
Guido van Rossum42e19361995-02-13 14:39:19 +0000512.2 raise class exceptions
Guido van Rossum6209b971992-11-27 22:54:49 +000052test_operations
533. Operations
54XXX Not yet implemented
55test_builtin
564. Built-in functions
57test_b1
Guido van Rossumeecf0351994-12-30 17:17:46 +000058__import__
Guido van Rossum6209b971992-11-27 22:54:49 +000059abs
60apply
Guido van Rossume23b62f1994-11-10 22:25:26 +000061callable
Guido van Rossum6209b971992-11-27 22:54:49 +000062chr
63cmp
64coerce
Guido van Rossume23b62f1994-11-10 22:25:26 +000065compile
66delattr
Guido van Rossum6209b971992-11-27 22:54:49 +000067dir
68divmod
69eval
Guido van Rossum6209b971992-11-27 22:54:49 +000070execfile
Guido van Rossume65cce51993-11-08 15:05:21 +000071filter
Guido van Rossum6209b971992-11-27 22:54:49 +000072float
73getattr
Guido van Rossume23b62f1994-11-10 22:25:26 +000074hasattr
75hash
Guido van Rossum6209b971992-11-27 22:54:49 +000076hex
Guido van Rossume23b62f1994-11-10 22:25:26 +000077id
Guido van Rossum6209b971992-11-27 22:54:49 +000078int
79len
80long
Guido van Rossume65cce51993-11-08 15:05:21 +000081map
Guido van Rossum6209b971992-11-27 22:54:49 +000082max
83min
84test_b2
85oct
86open
87ord
88pow
89range
90input and raw_input
91testing
92testing
Guido van Rossume65cce51993-11-08 15:05:21 +000093reduce
Guido van Rossum6209b971992-11-27 22:54:49 +000094reload
95repr
Guido van Rossume7113b61993-03-29 11:30:50 +000096round
Guido van Rossum6209b971992-11-27 22:54:49 +000097setattr
98str
Guido van Rossume23b62f1994-11-10 22:25:26 +000099tuple
Guido van Rossum6209b971992-11-27 22:54:49 +0000100type
Guido van Rossume23b62f1994-11-10 22:25:26 +0000101vars
102xrange
Guido van Rossum6209b971992-11-27 22:54:49 +0000103test_exceptions
1045. Built-in exceptions
105AttributeError
106EOFError
107IOError
108ImportError
109IndexError
110KeyError
111KeyboardInterrupt
112(not testable in a script)
113MemoryError
114(not safe to test)
115NameError
116OverflowError
117RuntimeError
118(not used any more?)
119SyntaxError
120SystemError
121(hard to reproduce)
122SystemExit
123TypeError
124ValueError
125ZeroDivisionError
126test_types
1276. Built-in types
1286.1 Truth value testing
1296.2 Boolean operations
1306.3 Comparisons
1316.4 Numeric types (mostly conversions)
Guido van Rossum80530ce1993-01-21 15:36:40 +00001326.4.1 32-bit integers
1336.4.2 Long integers
1346.4.3 Floating point numbers
Guido van Rossum6209b971992-11-27 22:54:49 +00001356.5 Sequence types
1366.5.1 Strings
1376.5.2 Tuples
1386.5.3 Lists
1396.5.3a Additional list operations
1406.6 Mappings == Dictionaries
Guido van Rossumfcce6301996-08-08 18:26:25 +0000141test_math
142math module, testing with eps 1e-05
143constants
144acos
145asin
146atan
147atan2
148ceil
149cos
150cosh
151exp
152fabs
153floor
154fmod
155frexp
156hypot
157ldexp
158log
159log10
160modf
161pow
162sin
163sinh
164sqrt
165tan
166tanh
Barry Warsaw5bebca21996-12-06 23:30:33 +0000167test_time
Guido van Rossum6c832eb1996-12-09 21:37:33 +0000168test_array
Barry Warsaw49852831996-12-09 21:49:55 +0000169test_strop
Guido van Rossum6209b971992-11-27 22:54:49 +0000170Passed all tests.