diff options
| author | Timothy Crosley <timothy.crosley@gmail.com> | 2020-11-29 23:39:45 -0800 |
|---|---|---|
| committer | Timothy Crosley <timothy.crosley@gmail.com> | 2020-11-29 23:39:45 -0800 |
| commit | 0b42e54ff33b2f99d49e1fdef7b1aa281ed0dd29 (patch) | |
| tree | 9e6c7cdaab02d31e84b6d969f3079fa29d24b9f6 /tests/unit/test_main.py | |
| parent | e9b1bd4e126327bc415b26d1308da5a2cdcdf51e (diff) | |
| download | isort-0b42e54ff33b2f99d49e1fdef7b1aa281ed0dd29.tar.gz | |
Formatting fixes
Diffstat (limited to 'tests/unit/test_main.py')
| -rw-r--r-- | tests/unit/test_main.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/unit/test_main.py b/tests/unit/test_main.py index 4af4d58c..ac4a8e4e 100644 --- a/tests/unit/test_main.py +++ b/tests/unit/test_main.py @@ -444,13 +444,13 @@ def function(): pass """ ) - + python_file.write(test_input) main.main([str(python_file), "--dont-float-to-top"]) _, error = capsys.readouterr() assert not error assert python_file.read_text(encoding="utf8") == test_input - + with pytest.raises(SystemExit): main.main([str(python_file), "--float-to-top", "--dont-float-to-top"]) |
