summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimothy Crosley <timothy.crosley@gmail.com>2019-12-22 23:05:15 -0800
committerTimothy Crosley <timothy.crosley@gmail.com>2019-12-22 23:05:15 -0800
commit65caf07e823c504fa5f6e9a547ee0a2f4dacbd25 (patch)
tree479219ba9fcc8e6c48e55cef81220cd10cc3034d
parent2381096a891fdbdc890c22b69ef40f203a49b01b (diff)
downloadisort-65caf07e823c504fa5f6e9a547ee0a2f4dacbd25.tar.gz
Update test to match new behaviour that allows multiple import sections
-rw-r--r--tests/test_isort.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/test_isort.py b/tests/test_isort.py
index 14af796d..8673ab46 100644
--- a/tests/test_isort.py
+++ b/tests/test_isort.py
@@ -87,10 +87,9 @@ def test_code_intermixed() -> None:
assert test_output == (
"import sys\n"
"\n"
- "import myproject.test\n"
- "\n"
"print('yo')\n"
"print('I like to put code between imports cause I want stuff to break')\n"
+ "import myproject.test\n"
)