diff options
| author | Timothy Crosley <timothy.crosley@gmail.com> | 2020-10-10 04:06:17 -0700 |
|---|---|---|
| committer | Timothy Crosley <timothy.crosley@gmail.com> | 2020-10-10 04:06:17 -0700 |
| commit | c2412345aa9b75ec732aca57ba60ef4fe4b6c0aa (patch) | |
| tree | c00bff433453bd32c19c8c88d86e1b2971837341 | |
| parent | 59dda8d503be642e6a7d38ab666bac4a0d317463 (diff) | |
| download | isort-5.6.2.tar.gz | |
Resolve linting errors5.6.2
| -rw-r--r-- | tests/unit/test_main.py | 4 | ||||
| -rw-r--r-- | tests/unit/test_pylama_isort.py | 2 |
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 |
