diff options
| author | Timur Kushukov <timqsh@gmail.com> | 2020-10-19 19:06:01 +0500 |
|---|---|---|
| committer | Timur Kushukov <timqsh@gmail.com> | 2020-10-19 19:06:01 +0500 |
| commit | e737cb5b4fb385a49c562ff646197cce2e0452b7 (patch) | |
| tree | 9d675a62a228b695b9b196370f9072478d8c2b2d /tests/unit/test_main.py | |
| parent | 579d93c40c736d87f5219c42222df8f02abf3abf (diff) | |
| download | isort-e737cb5b4fb385a49c562ff646197cce2e0452b7.tar.gz | |
fix Windows tests
Diffstat (limited to 'tests/unit/test_main.py')
| -rw-r--r-- | tests/unit/test_main.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/unit/test_main.py b/tests/unit/test_main.py index 93ed94e8..70eafb3a 100644 --- a/tests/unit/test_main.py +++ b/tests/unit/test_main.py @@ -1,4 +1,5 @@ import json +import os import subprocess from datetime import datetime from io import BytesIO, TextIOWrapper @@ -925,4 +926,4 @@ def test_identify_imports_main(tmpdir, capsys): main.identify_imports_main([str(some_file)]) out, error = capsys.readouterr() - assert out == file_imports + assert out == file_imports.replace("\n", os.linesep) |
