summaryrefslogtreecommitdiff
path: root/test_isort.py
diff options
context:
space:
mode:
authorTimothy Edmund Crosley <timothy.crosley@gmail.com>2019-02-25 14:24:17 -0800
committerGitHub <noreply@github.com>2019-02-25 14:24:17 -0800
commit7b129bd0627357986854a4fe83b5ef7ddfe4bd70 (patch)
tree4304aea668387bc37c5e4057c4cfb0d46f1fdbfa /test_isort.py
parent8b8deafc6fad55cda1a29fcd9e31c9a7bdc6607f (diff)
parentda544deb4f3ffd2411013cbfa75761089664dcda (diff)
downloadisort-7b129bd0627357986854a4fe83b5ef7ddfe4bd70.tar.gz
Merge pull request #840 from viourr/black_comma_support
Keep trailing comma even for a single from import. Issue 831
Diffstat (limited to 'test_isort.py')
-rw-r--r--test_isort.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test_isort.py b/test_isort.py
index bbd80c55..355c6fba 100644
--- a/test_isort.py
+++ b/test_isort.py
@@ -1304,7 +1304,7 @@ def test_include_trailing_comma():
).output
assert test_output_wrap_single_import_vertical_indent == (
"from third_party import (\n"
- " lib1\n"
+ " lib1,\n"
")\n"
)