diff --git a/test/11_dependency_versions/cibuildwheel_test.py b/test/11_dependency_versions/cibuildwheel_test.py index f4991da9..d697d4fb 100644 --- a/test/11_dependency_versions/cibuildwheel_test.py +++ b/test/11_dependency_versions/cibuildwheel_test.py @@ -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 diff --git a/test/11_dependency_versions/test/spam_test.py b/test/11_dependency_versions/test/spam_test.py deleted file mode 100644 index 58ed31c9..00000000 --- a/test/11_dependency_versions/test/spam_test.py +++ /dev/null @@ -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