diff --git a/tests/functional/test_build_env.py b/tests/functional/test_build_env.py index 1f3b88b4d87..7a392f42646 100644 --- a/tests/functional/test_build_env.py +++ b/tests/functional/test_build_env.py @@ -17,7 +17,6 @@ def run_with_build_env(script, setup_script_contents, build_env_script.write_text( dedent( ''' - from __future__ import print_function import subprocess import sys @@ -161,8 +160,6 @@ def test_build_env_overlay_prefix_has_priority(script): 'installing pkg==4.3 in normal') ''', ''' - from __future__ import print_function - print(__import__('pkg').__version__) ''') assert result.stdout.strip() == '2.0', str(result) @@ -195,7 +192,6 @@ def test_build_env_isolation(script): run_with_build_env( script, '', r''' - from __future__ import print_function from distutils.sysconfig import get_python_lib import sys diff --git a/tests/functional/test_uninstall.py b/tests/functional/test_uninstall.py index 6c687ada5b3..d3c6a392ec4 100644 --- a/tests/functional/test_uninstall.py +++ b/tests/functional/test_uninstall.py @@ -1,5 +1,3 @@ -from __future__ import with_statement - import json import logging import os