summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md3
-rw-r--r--tests/test_isort.py5
2 files changed, 3 insertions, 5 deletions
diff --git a/README.md b/README.md
index b6d5cb78..183aec72 100644
--- a/README.md
+++ b/README.md
@@ -43,8 +43,6 @@ Before isort:
```python
from my_lib import Object
-print("Hey")
-
import os
from my_lib import Object3
@@ -61,6 +59,7 @@ from __future__ import absolute_import
from third_party import lib3
+print("Hey")
print("yo")
```
diff --git a/tests/test_isort.py b/tests/test_isort.py
index 8b6ae620..40b22bb2 100644
--- a/tests/test_isort.py
+++ b/tests/test_isort.py
@@ -3849,7 +3849,6 @@ def test_standard_library_deprecates_user_issue_778() -> None:
assert SortImports(file_contents=test_input).output == test_input
-@pytest.mark.skip(reason="TODO: Failing for unknown reason.")
def test_settings_path_skip_issue_909(tmpdir) -> None:
base_dir = tmpdir.mkdir("project")
config_dir = base_dir.mkdir("conf")
@@ -3858,10 +3857,10 @@ def test_settings_path_skip_issue_909(tmpdir) -> None:
)
base_dir.join("file_glob_skip.py").write(
- "import os\n\n" 'print("Hello World")\n' "\nimport sys\n"
+ "import os\n\n" 'print("Hello World")\n' "\nimport sys\nimport os\n"
)
base_dir.join("file_to_be_skipped.py").write(
- "import os\n\n" 'print("Hello World")' "\nimport sys\n"
+ "import os\n\n" 'print("Hello World")' "\nimport sys\nimport os\n"
)
test_run_directory = os.getcwd()