diff --git a/pyperformance/benchmarks/__init__.py b/pyperformance/benchmarks/__init__.py index 7d08bb9a..4da0d391 100644 --- a/pyperformance/benchmarks/__init__.py +++ b/pyperformance/benchmarks/__init__.py @@ -1,5 +1,3 @@ -from __future__ import division, with_statement, print_function, absolute_import - import logging from pyperformance.run import run_perf_script diff --git a/pyperformance/benchmarks/bm_chaos.py b/pyperformance/benchmarks/bm_chaos.py index cfdfbe25..443c677f 100644 --- a/pyperformance/benchmarks/bm_chaos.py +++ b/pyperformance/benchmarks/bm_chaos.py @@ -3,8 +3,6 @@ Copyright (C) 2005 Carl Friedrich Bolz """ -from __future__ import division, print_function - import math import random diff --git a/pyperformance/benchmarks/bm_deltablue.py b/pyperformance/benchmarks/bm_deltablue.py index 68df4967..b851bf1d 100644 --- a/pyperformance/benchmarks/bm_deltablue.py +++ b/pyperformance/benchmarks/bm_deltablue.py @@ -18,8 +18,6 @@ .. _`V8's source code`: (https://github.com/v8/v8/blob/master/benchmarks/deltablue.js) """ -from __future__ import print_function - import pyperf diff --git a/pyperformance/benchmarks/bm_hexiom.py b/pyperformance/benchmarks/bm_hexiom.py index 7379cad8..8073d71a 100644 --- a/pyperformance/benchmarks/bm_hexiom.py +++ b/pyperformance/benchmarks/bm_hexiom.py @@ -8,7 +8,6 @@ (Main function tweaked by Armin Rigo.) """ -from __future__ import division, print_function import io import pyperf diff --git a/pyperformance/benchmarks/bm_html5lib.py b/pyperformance/benchmarks/bm_html5lib.py index dcc4e086..70e4ff14 100644 --- a/pyperformance/benchmarks/bm_html5lib.py +++ b/pyperformance/benchmarks/bm_html5lib.py @@ -3,8 +3,6 @@ The input data is the spec document for HTML 5, written in HTML 5. The spec was pulled from http://svn.whatwg.org/webapps/index. """ -from __future__ import with_statement - import io import os.path diff --git a/pyperformance/benchmarks/bm_json_loads.py b/pyperformance/benchmarks/bm_json_loads.py index 213dbbd5..c596f30e 100644 --- a/pyperformance/benchmarks/bm_json_loads.py +++ b/pyperformance/benchmarks/bm_json_loads.py @@ -6,8 +6,6 @@ to real-world scenarios which operate on single objects at a time. """ -from __future__ import division - # Python imports import json import random diff --git a/pyperformance/benchmarks/bm_meteor_contest.py b/pyperformance/benchmarks/bm_meteor_contest.py index 766027ff..0679fa8f 100644 --- a/pyperformance/benchmarks/bm_meteor_contest.py +++ b/pyperformance/benchmarks/bm_meteor_contest.py @@ -8,8 +8,6 @@ contributed by Daniel Nanz, 2008-08-21 """ -from __future__ import division, print_function, absolute_import - from bisect import bisect import pyperf diff --git a/pyperformance/benchmarks/bm_pickle.py b/pyperformance/benchmarks/bm_pickle.py index 008a4a12..8d1e46e9 100644 --- a/pyperformance/benchmarks/bm_pickle.py +++ b/pyperformance/benchmarks/bm_pickle.py @@ -12,8 +12,6 @@ highly-efficient encoding for the n-1 following copies. """ -from __future__ import division - import datetime import random import sys diff --git a/pyperformance/benchmarks/bm_richards.py b/pyperformance/benchmarks/bm_richards.py index 84709cf3..b9167d1e 100644 --- a/pyperformance/benchmarks/bm_richards.py +++ b/pyperformance/benchmarks/bm_richards.py @@ -9,8 +9,6 @@ Outer loop added by Alex Jacoby """ -from __future__ import print_function - import pyperf diff --git a/pyperformance/benchmarks/bm_telco.py b/pyperformance/benchmarks/bm_telco.py index 50b49860..0c4856fe 100644 --- a/pyperformance/benchmarks/bm_telco.py +++ b/pyperformance/benchmarks/bm_telco.py @@ -15,7 +15,6 @@ """ -from __future__ import print_function from decimal import ROUND_HALF_EVEN, ROUND_DOWN, Decimal, getcontext, Context import io import os diff --git a/pyperformance/cli.py b/pyperformance/cli.py index 7d8e1b88..76035476 100644 --- a/pyperformance/cli.py +++ b/pyperformance/cli.py @@ -1,5 +1,3 @@ -from __future__ import division, with_statement, print_function, absolute_import - import argparse import os.path import sys diff --git a/pyperformance/cli_run.py b/pyperformance/cli_run.py index 8346056c..b1fd92eb 100644 --- a/pyperformance/cli_run.py +++ b/pyperformance/cli_run.py @@ -1,5 +1,3 @@ -from __future__ import division, with_statement, print_function, absolute_import - import logging import os.path import sys diff --git a/pyperformance/compare.py b/pyperformance/compare.py index bdad324b..29f5901b 100644 --- a/pyperformance/compare.py +++ b/pyperformance/compare.py @@ -1,5 +1,3 @@ -from __future__ import division, with_statement, print_function, absolute_import - import csv import os.path import math diff --git a/pyperformance/run.py b/pyperformance/run.py index b303b5d0..88007dc5 100644 --- a/pyperformance/run.py +++ b/pyperformance/run.py @@ -1,5 +1,3 @@ -from __future__ import division, with_statement, print_function, absolute_import - import logging import os.path import subprocess diff --git a/pyperformance/venv.py b/pyperformance/venv.py index 089fb646..f55b5edb 100644 --- a/pyperformance/venv.py +++ b/pyperformance/venv.py @@ -1,5 +1,3 @@ -from __future__ import division, with_statement, print_function, absolute_import - import errno import os import platform diff --git a/runtests.py b/runtests.py index fe4ec8aa..92d933d8 100755 --- a/runtests.py +++ b/runtests.py @@ -1,6 +1,4 @@ #!/usr/bin/env python3 -from __future__ import division, with_statement, print_function, absolute_import - import os.path import shutil import subprocess