Skip to content

Commit 610b76e

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

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

tests/test_subprocess.py

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -14,24 +14,6 @@ def test_subprocess(tmp_pathplus: PathPlus, monkeypatch):
1414

1515
(tmp_pathplus / "demo.py").write_text("\n\t\ndef foo():\n\tpass\n\t")
1616

17-
with in_directory(tmp_pathplus):
18-
result = subprocess.run(
19-
[sys.executable, "-m", "flake8", "demo.py"],
20-
capture_output=True,
21-
)
22-
23-
assert result.returncode == 1
24-
assert result.stderr == b''
25-
assert result.stdout == b"""\
26-
demo.py:1:1: DALL000 Module lacks __all__.
27-
demo.py:2:1: W191 indentation contains tabs
28-
demo.py:2:1: W293 blank line contains whitespace
29-
demo.py:4:1: W191 indentation contains tabs
30-
demo.py:5:1: W191 indentation contains tabs
31-
demo.py:5:1: W293 blank line contains whitespace
32-
demo.py:5:2: W292 no newline at end of file
33-
"""
34-
3517
with in_directory(tmp_pathplus):
3618
result = subprocess.run(
3719
[sys.executable, "-m", "flake8", "demo.py", "--select", "DALL000"],

0 commit comments

Comments
 (0)