Commit 98056a68 authored by Nikolaus Waxweiler's avatar Nikolaus Waxweiler Committed by Paul Ganssle

Remove pytest marker and code for Python < 2.7

parent d3215c10
...@@ -93,10 +93,6 @@ def test_test(capfd): ...@@ -93,10 +93,6 @@ def test_test(capfd):
assert out == 'Foo\n' assert out == 'Foo\n'
@pytest.mark.skipif(
sys.version_info < (2, 7),
reason="No discover support for unittest on Python 2.6",
)
@pytest.mark.usefixtures('tmpdir_cwd', 'quiet_log') @pytest.mark.usefixtures('tmpdir_cwd', 'quiet_log')
def test_tests_are_run_once(capfd): def test_tests_are_run_once(capfd):
params = dict( params = dict(
......
...@@ -57,9 +57,6 @@ def test_pip_upgrade_from_source(virtualenv): ...@@ -57,9 +57,6 @@ def test_pip_upgrade_from_source(virtualenv):
Check pip can upgrade setuptools from source. Check pip can upgrade setuptools from source.
""" """
dist_dir = virtualenv.workspace dist_dir = virtualenv.workspace
if sys.version_info < (2, 7):
# Python 2.6 support was dropped in wheel 0.30.0.
virtualenv.run('pip install -U "wheel<0.30.0"')
# Generate source distribution / wheel. # Generate source distribution / wheel.
virtualenv.run(' && '.join(( virtualenv.run(' && '.join((
'cd {source}', 'cd {source}',
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment