From 75a0384d027f5b2c5fe16945d652a2c3dee31d58 Mon Sep 17 00:00:00 2001 From: Grzegorz Bokota Date: Mon, 11 May 2020 17:28:47 +0200 Subject: [PATCH] fix flake8 errors --- test/14_before_all/cibuildwheel_test.py | 1 - test/14_before_all/setup.py | 6 +----- 2 files changed, 1 insertion(+), 6 deletions(-) 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'])],