diff --git a/test/14_before_all/cibuildwheel_test.py b/test/14_before_all/cibuildwheel_test.py index e5340e35..d5be005a 100644 --- a/test/14_before_all/cibuildwheel_test.py +++ b/test/14_before_all/cibuildwheel_test.py @@ -16,7 +16,6 @@ def test(): 'CIBW_BEFORE_ALL': '''python -c "open('{project}/text_info.txt', 'w').write('sample text')"''', }) - # also check that we got the right wheels os.remove(os.path.join(project_dir, "text_info.txt")) expected_wheels = utils.expected_wheels('spam', '0.1.0') diff --git a/test/14_before_all/setup.py b/test/14_before_all/setup.py index 7b68808b..d1cf0f48 100644 --- a/test/14_before_all/setup.py +++ b/test/14_before_all/setup.py @@ -1,6 +1,3 @@ -import os -import sys - from setuptools import ( Extension, setup, @@ -11,11 +8,10 @@ from setuptools import ( with open("text_info.txt") as f: stored_text = f.read() -print("## stored text: "+stored_text) +print("## stored text: " + stored_text) assert stored_text == "sample text" - setup( name="spam", ext_modules=[Extension('spam', sources=['spam.c'])],