Marc-André Lemburg | c311f64 | 2006-04-19 15:27:33 +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 |
Marc-André Lemburg | 7d9743d | 2006-06-13 18:56:56 +0000 | [diff] [blame] | 17 | Warp_factor = 10 |
Marc-André Lemburg | c311f64 | 2006-04-19 15:27:33 +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 * |
Steve Holden | 431a763 | 2006-05-26 16:27:59 +0000 | [diff] [blame] | 25 | try: |
| 26 | from NewInstances import * |
Marc-André Lemburg | 7d9743d | 2006-06-13 18:56:56 +0000 | [diff] [blame] | 27 | except ImportError: |
| 28 | pass |
Marc-André Lemburg | c311f64 | 2006-04-19 15:27:33 +0000 | [diff] [blame] | 29 | from Lists import * |
| 30 | from Tuples import * |
| 31 | from Dict import * |
| 32 | from Exceptions import * |
Jeffrey Yasskin | 0df0f6d | 2008-03-08 18:26:54 +0000 | [diff] [blame] | 33 | try: |
| 34 | from With import * |
| 35 | except SyntaxError: |
| 36 | pass |
Marc-André Lemburg | c311f64 | 2006-04-19 15:27:33 +0000 | [diff] [blame] | 37 | from Imports import * |
| 38 | from Strings import * |
| 39 | from Numbers import * |
| 40 | try: |
| 41 | from Unicode import * |
| 42 | except (ImportError, SyntaxError): |
| 43 | pass |