Line | |
---|
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
|
---|
17 | Warp_factor = 10
|
---|
18 |
|
---|
19 | # Import tests
|
---|
20 | from Arithmetic import *
|
---|
21 | from Calls import *
|
---|
22 | from Constructs import *
|
---|
23 | from Lookups import *
|
---|
24 | from Instances import *
|
---|
25 | try:
|
---|
26 | from NewInstances import *
|
---|
27 | except ImportError:
|
---|
28 | pass
|
---|
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
|
---|
Note:
See
TracBrowser
for help on using the repository browser.