Debian Codegraph @

cpython27/Tools/pybench/Setup.py

raw symbols SCIP
1 #!/usr/bin/env 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 try:
34 from With import *
35 except SyntaxError:
36 pass
37 from Imports import *
38 from Strings import *
39 from Numbers import *
40 try:
41 from Unicode import *
42 except (ImportError, SyntaxError):
43 pass