mirror of
https://github.com/PyCQA/flake8.git
synced 2026-04-06 13:06:53 +00:00
audit + string joining
This commit is contained in:
parent
e9a2a10183
commit
edadccd8dc
6 changed files with 11 additions and 12 deletions
|
|
@ -134,7 +134,7 @@ def test_normalize_path(value, expected):
|
|||
(["flake8", "pep8", "pyflakes", "mccabe"],
|
||||
["flake8", "pep8", "pyflakes", "mccabe"]),
|
||||
(["../flake8", "../pep8", "../pyflakes", "../mccabe"],
|
||||
[os.path.abspath("../" + p) for p in RELATIVE_PATHS]),
|
||||
[os.path.abspath(f"../{p}") for p in RELATIVE_PATHS]),
|
||||
])
|
||||
def test_normalize_paths(value, expected):
|
||||
"""Verify we normalizes a sequence of paths provided to the tool."""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue