diff options
-rw-r--r-- | test_isort.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test_isort.py b/test_isort.py index 14cf5d7e..a7c0e4b1 100644 --- a/test_isort.py +++ b/test_isort.py @@ -2136,6 +2136,8 @@ def test_future_below_encoding_issue_545(): def test_no_extra_lines_issue_557(): """Test to ensure no extra lines are prepended""" - test_input = 'import os\n' + test_input = ('import os\n' + '\n' + 'from scrapy.core.downloader.handlers.http import HttpDownloadHandler, HTTPDownloadHandler\n') assert SortImports(file_contents=test_input, force_alphabetical_sort=True, force_sort_within_sections=True).output == test_input |