• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#!/usr/bin/env 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 *
33try:
34    from With import *
35except SyntaxError:
36    pass
37from Imports import *
38from Strings import *
39from Numbers import *
40try:
41    from Unicode import *
42except (ImportError, SyntaxError):
43    pass
44