Skip to content

Commit e97adc4

Browse files
committed
Remove other subprocess test without --select option.
1 parent 610b76e commit e97adc4

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

tests/test_subprocess.py

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -68,23 +68,6 @@ def test_subprocess_noqa(tmp_pathplus: PathPlus, monkeypatch):
6868

6969
(tmp_pathplus / "demo.py").write_text("# noq" + "a: DALL000\n\n\t\ndef foo():\n\tpass\n\t")
7070

71-
with in_directory(tmp_pathplus):
72-
result = subprocess.run(
73-
[sys.executable, "-m", "flake8", "demo.py"],
74-
capture_output=True,
75-
)
76-
77-
assert result.returncode == 1
78-
assert result.stderr == b''
79-
assert result.stdout == b"""\
80-
demo.py:3:1: W191 indentation contains tabs
81-
demo.py:3:1: W293 blank line contains whitespace
82-
demo.py:5:1: W191 indentation contains tabs
83-
demo.py:6:1: W191 indentation contains tabs
84-
demo.py:6:1: W293 blank line contains whitespace
85-
demo.py:6:2: W292 no newline at end of file
86-
"""
87-
8871
with in_directory(tmp_pathplus):
8972
result = subprocess.run(
9073
[sys.executable, "-m", "flake8", "demo.py", "--select", "DALL000"],

0 commit comments

Comments
 (0)