blob: 309f3db59e1b774f6ef00c69ecd19a3a5bfd477e [file] [log] [blame]
Benjamin Peterson9cf41d02010-03-11 22:33:25 +00001#!/usr/bin/env python
Marc-André Lemburgc311f642006-04-19 15:27:33 +00002
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
Marc-André Lemburg7d9743d2006-06-13 18:56:56 +000017Warp_factor = 10
Marc-André Lemburgc311f642006-04-19 15:27:33 +000018
19# Import tests
20from Arithmetic import *
21from Calls import *
22from Constructs import *
23from Lookups import *
24from Instances import *
Steve Holden431a7632006-05-26 16:27:59 +000025try:
26 from NewInstances import *
Marc-André Lemburg7d9743d2006-06-13 18:56:56 +000027except ImportError:
28 pass
Marc-André Lemburgc311f642006-04-19 15:27:33 +000029from Lists import *
30from Tuples import *
31from Dict import *
32from Exceptions import *
Jeffrey Yasskin0df0f6d2008-03-08 18:26:54 +000033try:
34 from With import *
35except SyntaxError:
36 pass
Marc-André Lemburgc311f642006-04-19 15:27:33 +000037from Imports import *
38from Strings import *
39from Numbers import *
40try:
41 from Unicode import *
42except (ImportError, SyntaxError):
43 pass