summaryrefslogtreecommitdiff
path: root/test_isort.py
diff options
context:
space:
mode:
Diffstat (limited to 'test_isort.py')
-rw-r--r--test_isort.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/test_isort.py b/test_isort.py
index 1e75c17e..c4d3b4e5 100644
--- a/test_isort.py
+++ b/test_isort.py
@@ -2919,3 +2919,10 @@ def test_settings_path_skip_issue_909(tmpdir):
os.chdir(str(test_run_directory))
assert b'skipped 2' in results.lower()
+
+
+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