diff options
| author | Timothy Crosley <timothy.crosley@gmail.com> | 2020-01-29 23:22:07 -0800 |
|---|---|---|
| committer | Timothy Crosley <timothy.crosley@gmail.com> | 2020-01-29 23:22:07 -0800 |
| commit | c171e155922b7e90b6783286e56ffe56c8c7fb5c (patch) | |
| tree | 42591f0d21035bd8eef644f35ba6d10076aae603 /isort/utils.py | |
| parent | 17e65d3b4c5e3ffe8800b4f7bb3e45a12da3e87d (diff) | |
| download | isort-c171e155922b7e90b6783286e56ffe56c8c7fb5c.tar.gz | |
don't cover platform specific case
Diffstat (limited to 'isort/utils.py')
| -rw-r--r-- | isort/utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/isort/utils.py b/isort/utils.py index e0bbbb53..27f17b4a 100644 --- a/isort/utils.py +++ b/isort/utils.py @@ -12,7 +12,7 @@ def exists_case_sensitive(path: str) -> bool: Python can only import using the case of the real file. """ result = os.path.exists(path) - if (sys.platform.startswith("win") or sys.platform == "darwin") and result: + if (sys.platform.startswith("win") or sys.platform == "darwin") and result: # pragma: no cover directory, basename = os.path.split(path) result = basename in os.listdir(directory) return result |
