source: vendor/python/2.5/Tools/pybench/Setup.py

Last change on this file was 3225, checked in by bird, 18 years ago

Python 2.5

File size: 904 bytes
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
16Number_of_rounds = 10
17Warp_factor = 10
18
19# Import tests
20from Arithmetic import *
21from Calls import *
22from Constructs import *
23from Lookups import *
24from Instances import *
25try:
26 from NewInstances import *
27except ImportError:
28 pass
29from Lists import *
30from Tuples import *
31from Dict import *
32from Exceptions import *
33from Imports import *
34from Strings import *
35from Numbers import *
36try:
37 from Unicode import *
38except (ImportError, SyntaxError):
39 pass
Note: See TracBrowser for help on using the repository browser.