blob: 21e654afba40a4ab82f14617102478dc6dfa6ab3 [file] [log] [blame]
Thomas Wouters49fd7fa2006-04-21 10:40:58 +00001#!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
Thomas Wouters0e3f5912006-08-11 14:57:12 +000017Warp_factor = 10
Thomas Wouters49fd7fa2006-04-21 10:40:58 +000018
19# Import tests
20from Arithmetic import *
21from Calls import *
22from Constructs import *
23from Lookups import *
24from Instances import *
Thomas Wouters477c8d52006-05-27 19:21:47 +000025try:
26 from NewInstances import *
Thomas Wouters0e3f5912006-08-11 14:57:12 +000027except ImportError:
28 pass
Thomas Wouters49fd7fa2006-04-21 10:40:58 +000029from Lists import *
30from Tuples import *
31from Dict import *
32from Exceptions import *
Christian Heimesdd15f6c2008-03-16 00:07:10 +000033try:
34 from With import *
35except SyntaxError:
36 pass
Thomas Wouters49fd7fa2006-04-21 10:40:58 +000037from Imports import *
38from Strings import *
39from Numbers import *
40try:
41 from Unicode import *
42except (ImportError, SyntaxError):
43 pass