diff options
| author | Niyas Sait <niyas.sait@linaro.org> | 2021-09-06 12:14:35 +0100 |
|---|---|---|
| committer | Niyas Sait <niyas.sait@linaro.org> | 2021-09-06 12:14:35 +0100 |
| commit | b38808146c6789f98e52aa7f1ad6631a6bf3370c (patch) | |
| tree | d4fe49a2bad614a430ea1f98c4f874e01c78e529 | |
| parent | 07cd207d2ddf6be23eb0deecfd890aefe8cb3f10 (diff) | |
| download | python-setuptools-git-b38808146c6789f98e52aa7f1ad6631a6bf3370c.tar.gz | |
Fix linting errors
| -rw-r--r-- | setuptools/command/easy_install.py | 1 | ||||
| -rw-r--r-- | setuptools/tests/test_windows_wrappers.py | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/setuptools/command/easy_install.py b/setuptools/command/easy_install.py index 8333e94a..031b612f 100644 --- a/setuptools/command/easy_install.py +++ b/setuptools/command/easy_install.py @@ -22,7 +22,6 @@ from distutils import log, dir_util from distutils.command.build_scripts import first_line_re from distutils.spawn import find_executable import sys -import platform import os import zipimport import shutil diff --git a/setuptools/tests/test_windows_wrappers.py b/setuptools/tests/test_windows_wrappers.py index 05a604b2..8ac9bd07 100644 --- a/setuptools/tests/test_windows_wrappers.py +++ b/setuptools/tests/test_windows_wrappers.py @@ -51,6 +51,7 @@ class WrapperTester: w = pkg_resources.resource_string('setuptools', cls.wrapper_source) f.write(w) + def win_launcher_exe(prefix): """ A simple routine to select launcher script based on platform.""" assert prefix in ('cli', 'gui') @@ -59,6 +60,7 @@ def win_launcher_exe(prefix): else: return "{}-32.exe".format(prefix) + class TestCLI(WrapperTester): script_name = 'foo-script.py' wrapper_name = 'foo.exe' |
