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