Thomas Wouters | 49fd7fa | 2006-04-21 10:40:58 +0000 | [diff] [blame] | 1 | #!python |
| 2 | |
| 3 | # Setup file for pybench |
| 4 | # |
| 5 | # This file has to import all tests to be run; it is executed as |
| 6 | # Python source file, so you can do all kinds of manipulations here |
| 7 | # rather than having to edit the tests themselves. |
| 8 | # |
| 9 | # Note: Please keep this module compatible to Python 1.5.2. |
| 10 | # |
| 11 | # Tests may include features in later Python versions, but these |
| 12 | # should then be embedded in try-except clauses in this configuration |
| 13 | # module. |
| 14 | |
| 15 | # Defaults |
| 16 | Number_of_rounds = 10 |
Thomas Wouters | 0e3f591 | 2006-08-11 14:57:12 +0000 | [diff] [blame] | 17 | Warp_factor = 10 |
Thomas Wouters | 49fd7fa | 2006-04-21 10:40:58 +0000 | [diff] [blame] | 18 | |
| 19 | # Import tests |
| 20 | from Arithmetic import * |
| 21 | from Calls import * |
| 22 | from Constructs import * |
| 23 | from Lookups import * |
| 24 | from Instances import * |
Thomas Wouters | 477c8d5 | 2006-05-27 19:21:47 +0000 | [diff] [blame] | 25 | try: |
| 26 | from NewInstances import * |
Thomas Wouters | 0e3f591 | 2006-08-11 14:57:12 +0000 | [diff] [blame] | 27 | except ImportError: |
| 28 | pass |
Thomas Wouters | 49fd7fa | 2006-04-21 10:40:58 +0000 | [diff] [blame] | 29 | from Lists import * |
| 30 | from Tuples import * |
| 31 | from Dict import * |
| 32 | from Exceptions import * |
| 33 | from Imports import * |
| 34 | from Strings import * |
| 35 | from Numbers import * |
| 36 | try: |
| 37 | from Unicode import * |
| 38 | except (ImportError, SyntaxError): |
| 39 | pass |