diff options
author | Stéphane Blondon <stephane.blondon@gmail.com> | 2022-08-25 20:47:43 +0200 |
---|---|---|
committer | Stéphane Blondon <stephane.blondon@gmail.com> | 2022-08-25 20:48:09 +0200 |
commit | ac7a0ddd49fc2a520dc498526e4feaebfbfeaadd (patch) | |
tree | 18d05b55946c2c6714a22f8459a10bad2fec7aea | |
parent | 92ebeed732b08ac29576634ad4814b9efd07bb37 (diff) | |
download | python-setuptools-git-ac7a0ddd49fc2a520dc498526e4feaebfbfeaadd.tar.gz |
remove python2 cases
-rw-r--r-- | setuptools/command/test.py | 2 | ||||
-rw-r--r-- | setuptools/monkey.py | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/setuptools/command/test.py b/setuptools/command/test.py index 652f3e4a..8dde513c 100644 --- a/setuptools/command/test.py +++ b/setuptools/command/test.py @@ -118,7 +118,7 @@ class test(Command): return list(self._test_args()) def _test_args(self): - if not self.test_suite and sys.version_info >= (2, 7): + if not self.test_suite: yield 'discover' if self.verbose: yield '--verbose' diff --git a/setuptools/monkey.py b/setuptools/monkey.py index b881fc80..77a7adcf 100644 --- a/setuptools/monkey.py +++ b/setuptools/monkey.py @@ -71,8 +71,6 @@ def patch_all(): distutils.filelist.findall = setuptools.findall needs_warehouse = ( - sys.version_info < (2, 7, 13) - or (3, 4) < sys.version_info < (3, 4, 6) or (3, 5) < sys.version_info <= (3, 5, 3) |