Skip to content

Commit 068f116

Browse files
committed
Fix Ruff lint UP022
1 parent 5a3d5ff commit 068f116

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mypy/test/test_color_output.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# TODO Would like help with this test, how do I make it runnable?
77

88
def test(expect_color: bool, *args: Any, **kwargs: Any) -> None:
9-
res = run(*args, stdout=PIPE, stderr=PIPE, **kwargs) #type:ignore[call-overload]
9+
res = run(*args, capture_output=True, **kwargs) #type:ignore[call-overload]
1010
if "Found" not in res.stdout: #??
1111
pytest.fail("Command failed to complete or did not detect type error")
1212
if expect_color: # Expect color control chars

0 commit comments

Comments
 (0)