diff options
Diffstat (limited to 'test_isort.py')
-rw-r--r-- | test_isort.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test_isort.py b/test_isort.py index e6fe576e..91cb6f10 100644 --- a/test_isort.py +++ b/test_isort.py @@ -2923,3 +2923,10 @@ def test_to_ensure_correctly_handling_of_whitespace_only_issue_811(capsys): out, err = capsys.readouterr() assert out == '' assert err == '' + + +def test_standard_library_deprecates_user_issue_778(): + test_input = ('import os\n' + '\n' + 'import user\n') + assert SortImports(file_contents=test_input).output == test_input |