diff options
author | Marc Mueller <30130371+cdce8p@users.noreply.github.com> | 2021-05-03 01:21:24 +0200 |
---|---|---|
committer | Marc Mueller <30130371+cdce8p@users.noreply.github.com> | 2021-05-03 01:56:28 +0200 |
commit | 76abb5ddc61b6532cca1f448d7e95793b4296eac (patch) | |
tree | 4f05cc89ab5af3dffb669ee6c90bce46eb2c72cb /testsuite/support.py | |
parent | d13134eba2f6a2f2d9fced5a95bf78fdeaabc9e8 (diff) | |
download | pep8-76abb5ddc61b6532cca1f448d7e95793b4296eac.tar.gz |
Moved to existing check
Diffstat (limited to 'testsuite/support.py')
-rw-r--r-- | testsuite/support.py | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/testsuite/support.py b/testsuite/support.py index e6c897f..eb8b443 100644 --- a/testsuite/support.py +++ b/testsuite/support.py @@ -6,7 +6,6 @@ import sys from pycodestyle import Checker, BaseReport, StandardReport, readlines SELFTEST_REGEX = re.compile(r'\b(Okay|[EW]\d{3}):\s(.*)') -SELFTEST_PY_REGEX = re.compile(r'\bPython (\d).(\d+)') ROOT_DIR = os.path.dirname(os.path.dirname(__file__)) @@ -113,14 +112,8 @@ def selftest(options): counters = report.counters checks = options.physical_checks + options.logical_checks for name, check, argument_names in checks: - python_version = None for line in check.__doc__.splitlines(): line = line.lstrip() - match = SELFTEST_PY_REGEX.match(line) - if match: - python_version = tuple(map(int, match.groups())) - if python_version and sys.version_info < python_version: - continue match = SELFTEST_REGEX.match(line) if match is None: continue |