annotate Lib/test/testall.py @ 4566:6403c94de50d legacy-trunk

Added safeguard against failure in __del__.
author Guido van Rossum <guido@python.org>
date Wed, 27 Nov 1996 19:39:58 +0000
parents 75d016c97d1c
children 683076432b7f
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
646
c832a2b0d433 Split in a number of subtest for easy maintenance and continued Mac support.
Guido van Rossum <guido@python.org>
parents: 559
diff changeset
1 # testall.py -- a regression test for the Python interpreter.
c832a2b0d433 Split in a number of subtest for easy maintenance and continued Mac support.
Guido van Rossum <guido@python.org>
parents: 559
diff changeset
2 # To run the tests, execute "import testall" in a clean interpreter.
c832a2b0d433 Split in a number of subtest for easy maintenance and continued Mac support.
Guido van Rossum <guido@python.org>
parents: 559
diff changeset
3 # It is a good idea to do this whenever you build a new interpreter.
c832a2b0d433 Split in a number of subtest for easy maintenance and continued Mac support.
Guido van Rossum <guido@python.org>
parents: 559
diff changeset
4 # Remember to add new tests when new features are added!
103
1229ba124e0b Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
5
646
c832a2b0d433 Split in a number of subtest for easy maintenance and continued Mac support.
Guido van Rossum <guido@python.org>
parents: 559
diff changeset
6 from test_support import *
103
1229ba124e0b Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
7
646
c832a2b0d433 Split in a number of subtest for easy maintenance and continued Mac support.
Guido van Rossum <guido@python.org>
parents: 559
diff changeset
8 print 'test_grammar'
c832a2b0d433 Split in a number of subtest for easy maintenance and continued Mac support.
Guido van Rossum <guido@python.org>
parents: 559
diff changeset
9 forget('test_grammar')
c832a2b0d433 Split in a number of subtest for easy maintenance and continued Mac support.
Guido van Rossum <guido@python.org>
parents: 559
diff changeset
10 import test_grammar
103
1229ba124e0b Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
11
646
c832a2b0d433 Split in a number of subtest for easy maintenance and continued Mac support.
Guido van Rossum <guido@python.org>
parents: 559
diff changeset
12 print 'test_opcodes'
c832a2b0d433 Split in a number of subtest for easy maintenance and continued Mac support.
Guido van Rossum <guido@python.org>
parents: 559
diff changeset
13 unload('test_opcodes')
c832a2b0d433 Split in a number of subtest for easy maintenance and continued Mac support.
Guido van Rossum <guido@python.org>
parents: 559
diff changeset
14 import test_opcodes
103
1229ba124e0b Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
15
646
c832a2b0d433 Split in a number of subtest for easy maintenance and continued Mac support.
Guido van Rossum <guido@python.org>
parents: 559
diff changeset
16 print 'test_operations'
c832a2b0d433 Split in a number of subtest for easy maintenance and continued Mac support.
Guido van Rossum <guido@python.org>
parents: 559
diff changeset
17 unload('test_operations')
c832a2b0d433 Split in a number of subtest for easy maintenance and continued Mac support.
Guido van Rossum <guido@python.org>
parents: 559
diff changeset
18 import test_operations
103
1229ba124e0b Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
19
646
c832a2b0d433 Split in a number of subtest for easy maintenance and continued Mac support.
Guido van Rossum <guido@python.org>
parents: 559
diff changeset
20 print 'test_builtin'
c832a2b0d433 Split in a number of subtest for easy maintenance and continued Mac support.
Guido van Rossum <guido@python.org>
parents: 559
diff changeset
21 unload('test_builtin')
c832a2b0d433 Split in a number of subtest for easy maintenance and continued Mac support.
Guido van Rossum <guido@python.org>
parents: 559
diff changeset
22 import test_builtin
103
1229ba124e0b Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
23
646
c832a2b0d433 Split in a number of subtest for easy maintenance and continued Mac support.
Guido van Rossum <guido@python.org>
parents: 559
diff changeset
24 print 'test_exceptions'
c832a2b0d433 Split in a number of subtest for easy maintenance and continued Mac support.
Guido van Rossum <guido@python.org>
parents: 559
diff changeset
25 unload('test_exceptions')
c832a2b0d433 Split in a number of subtest for easy maintenance and continued Mac support.
Guido van Rossum <guido@python.org>
parents: 559
diff changeset
26 import test_exceptions
103
1229ba124e0b Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
27
1097
c644bc626098 Added some new tests and two new files for testing: test_types.py
Guido van Rossum <guido@python.org>
parents: 646
diff changeset
28 print 'test_types'
c644bc626098 Added some new tests and two new files for testing: test_types.py
Guido van Rossum <guido@python.org>
parents: 646
diff changeset
29 unload('test_types')
c644bc626098 Added some new tests and two new files for testing: test_types.py
Guido van Rossum <guido@python.org>
parents: 646
diff changeset
30 import test_types
c644bc626098 Added some new tests and two new files for testing: test_types.py
Guido van Rossum <guido@python.org>
parents: 646
diff changeset
31
3950
75d016c97d1c Added test for math module
Guido van Rossum <guido@python.org>
parents: 1097
diff changeset
32 print 'test_math'
75d016c97d1c Added test for math module
Guido van Rossum <guido@python.org>
parents: 1097
diff changeset
33 unload('test_math')
75d016c97d1c Added test for math module
Guido van Rossum <guido@python.org>
parents: 1097
diff changeset
34 import test_math
75d016c97d1c Added test for math module
Guido van Rossum <guido@python.org>
parents: 1097
diff changeset
35
103
1229ba124e0b Initial revision
Guido van Rossum <guido@python.org>
parents:
diff changeset
36 print 'Passed all tests.'