blob: 1f2f45474fe76bb72546ad5acba6cb21b7c34f9b [file] [log] [blame]
Marc-André Lemburgc311f642006-04-19 15:27:33 +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
17Warp_factor = 20
18
19# Import tests
Steve Holden431a7632006-05-26 16:27:59 +000020#from Empty import *
Marc-André Lemburgc311f642006-04-19 15:27:33 +000021from Arithmetic import *
22from Calls import *
23from Constructs import *
24from Lookups import *
25from Instances import *
Steve Holden431a7632006-05-26 16:27:59 +000026try:
27 from NewInstances import *
28except:
29 print "Cannot test new-style objects"
Marc-André Lemburgc311f642006-04-19 15:27:33 +000030from Lists import *
31from Tuples import *
32from Dict import *
33from Exceptions import *
34from Imports import *
35from Strings import *
36from Numbers import *
37try:
38 from Unicode import *
39except (ImportError, SyntaxError):
40 pass