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