perform path normalization on '.'

This commit is contained in:
Anthony Sottile 2022-01-05 11:44:31 -05:00
parent 7fad9925d2
commit 4cb1dc8c44
2 changed files with 6 additions and 3 deletions

View file

@ -132,6 +132,7 @@ def test_invalid_file_list(value):
"value,expected",
[
("flake8", "flake8"),
(".", os.path.abspath(".")),
("../flake8", os.path.abspath("../flake8")),
("flake8/", os.path.abspath("flake8")),
],