ยปCore Development>Code coverage>Tools/pybench/Setup.py

Python code coverage for Tools/pybench/Setup.py

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