Remove the unit test check - the versions are determined by virtualenv at creation time

This commit is contained in:
Joe Rickerby
2020-02-18 21:55:03 +00:00
parent f55a5d44a3
commit fc20273f8b
2 changed files with 0 additions and 21 deletions
@@ -48,8 +48,6 @@ def test_pinned_versions(python_version):
actual_wheels = utils.cibuildwheel_run(project_dir, add_env={
'CIBW_BUILD': cibw_build_option,
'CIBW_ENVIRONMENT': cibw_environment_option,
'CIBW_TEST_REQUIRES': 'pytest',
'CIBW_TEST_COMMAND': 'pytest {project}/test',
})
# also check that we got the right wheels
@@ -100,8 +98,6 @@ def test_dependency_constraints_file(tmp_path):
actual_wheels = utils.cibuildwheel_run(project_dir, add_env={
'CIBW_ENVIRONMENT': cibw_environment_option,
'CIBW_DEPENDENCY_VERSIONS': str(constraints_file),
'CIBW_TEST_REQUIRES': 'pytest',
'CIBW_TEST_COMMAND': 'pytest {project}/test',
})
# also check that we got the right wheels
@@ -1,17 +0,0 @@
import os
import subprocess
def test_expected_pip_version():
expected_pip_version = os.environ['EXPECTED_PIP_VERSION']
versions_output_text = subprocess.check_output(
['pip', 'freeze', '--all', '-qq'],
universal_newlines=True,
)
versions = versions_output_text.strip().splitlines()
# `versions` now looks like:
# ['pip==x.x.x', 'setuptools==x.x.x', 'wheel==x.x.x']
assert 'pip=={}'.format(expected_pip_version) in versions