mirror of
https://github.com/Nuitka/Nuitka.git
synced 2026-02-01 11:33:19 +01:00
63 lines
1.9 KiB
Python
63 lines
1.9 KiB
Python
#!/usr/bin/env python
|
|
# Copyright 2025, Kay Hayen, mailto:kay.hayen@gmail.com find license text at end of file
|
|
|
|
|
|
# Setup file for pybench
|
|
#
|
|
# This file has to import all tests to be run; it is executed as
|
|
# Python source file, so you can do all kinds of manipulations here
|
|
# rather than having to edit the tests themselves.
|
|
#
|
|
# Note: Please keep this module compatible to Python 1.5.2.
|
|
#
|
|
# Tests may include features in later Python versions, but these
|
|
# should then be embedded in try-except clauses in this configuration
|
|
# module.
|
|
|
|
# Defaults
|
|
Number_of_rounds = 10
|
|
Warp_factor = 10
|
|
|
|
# Import tests
|
|
from Arithmetic import *
|
|
from Calls import *
|
|
from Constructs import *
|
|
from Lookups import *
|
|
from Instances import *
|
|
try:
|
|
from NewInstances import *
|
|
except ImportError:
|
|
pass
|
|
from Lists import *
|
|
from Tuples import *
|
|
from Dict import *
|
|
from Exceptions import *
|
|
try:
|
|
from With import *
|
|
except SyntaxError:
|
|
pass
|
|
from Imports import *
|
|
from Strings import *
|
|
from Numbers import *
|
|
try:
|
|
from Unicode import *
|
|
except (ImportError, SyntaxError):
|
|
pass
|
|
|
|
# Python test originally created or extracted from other peoples work. The
|
|
# parts from me are licensed as below. It is at least Free Software where
|
|
# it's copied from other people. In these cases, that will normally be
|
|
# indicated.
|
|
#
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
# you may not use this file except in compliance with the License.
|
|
# You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
# See the License for the specific language governing permissions and
|
|
# limitations under the License.
|