summaryrefslogtreecommitdiff
path: root/test_isort.py
diff options
context:
space:
mode:
authorAndrew Konstantaras <akonsta@me.com>2018-01-24 13:42:27 -0800
committerAndrew Konstantaras <akonsta@me.com>2018-01-24 13:42:27 -0800
commit0b1866e9a40a9ddf3ba70fb1cd758817dd4eea4c (patch)
tree840cccc1151a9c074ad9d0b3285bab885df72cfc /test_isort.py
parent468aaa8ca7e03291dc1b5b4dce5d7d422ebfd690 (diff)
downloadisort-0b1866e9a40a9ddf3ba70fb1cd758817dd4eea4c.tar.gz
Fix 638 and 613 by cleaning line earlier and fixing typo
Diffstat (limited to 'test_isort.py')
-rw-r--r--test_isort.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test_isort.py b/test_isort.py
index f09bfccf..675e0cb4 100644
--- a/test_isort.py
+++ b/test_isort.py
@@ -871,8 +871,8 @@ def test_relative_import_with_space():
"""Tests the case where the relation and the module that is being imported from is separated with a space."""
test_input = ("from ... fields.sproqet import SproqetCollection")
assert SortImports(file_contents=test_input).output == ("from ...fields.sproqet import SproqetCollection\n")
- test_input = ("from .input foo")
- test_output = ("from . input foo")
+ test_input = ("from .import foo")
+ test_output = ("from . import foo")
assert SortImports(file_contents=test_input).output == test_output
test_input = ("from.import foo")
test_output = ("from . import foo")