We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5a3d5ff commit 068f116Copy full SHA for 068f116
mypy/test/test_color_output.py
@@ -6,7 +6,7 @@
6
# TODO Would like help with this test, how do I make it runnable?
7
8
def test(expect_color: bool, *args: Any, **kwargs: Any) -> None:
9
- res = run(*args, stdout=PIPE, stderr=PIPE, **kwargs) #type:ignore[call-overload]
+ res = run(*args, capture_output=True, **kwargs) #type:ignore[call-overload]
10
if "Found" not in res.stdout: #??
11
pytest.fail("Command failed to complete or did not detect type error")
12
if expect_color: # Expect color control chars
0 commit comments