summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/unit/test_main.py4
-rw-r--r--tests/unit/test_pylama_isort.py2
2 files changed, 2 insertions, 4 deletions
diff --git a/tests/unit/test_main.py b/tests/unit/test_main.py
index 6c5bef76..59e224ae 100644
--- a/tests/unit/test_main.py
+++ b/tests/unit/test_main.py
@@ -592,8 +592,8 @@ import a
out, error = capsys.readouterr()
assert error
- assert not "underlying stream is not seekable" in error
- assert not "underlying stream is not seekable" in error
+ assert "underlying stream is not seekable" not in error
+ assert "underlying stream is not seekable" not in error
# ensures that isort correctly sorts stdin with --ls flag
diff --git a/tests/unit/test_pylama_isort.py b/tests/unit/test_pylama_isort.py
index 035b5e31..d3900c3f 100644
--- a/tests/unit/test_pylama_isort.py
+++ b/tests/unit/test_pylama_isort.py
@@ -1,5 +1,3 @@
-import os
-
from isort.pylama_isort import Linter