Skip to content

Commit 9bbd936

Browse files
committed
No need to send stderr to NULL in test, and in fact this may hide errors
1 parent 4e33e3f commit 9bbd936

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Lib/test/test_asyncio/test_subprocess.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -894,8 +894,7 @@ def test_subprocess_break_pipe(self):
894894
# See https://github.com/python/cpython/issues/130925
895895
async def main():
896896
proc = await asyncio.create_subprocess_exec(*PROGRAM_YES,
897-
stdout=asyncio.subprocess.PIPE,
898-
stderr=asyncio.subprocess.DEVNULL)
897+
stdout=asyncio.subprocess.PIPE)
899898
try:
900899
# just make sure the program has executed correctly
901900
data = await proc.stdout.readline()

0 commit comments

Comments
 (0)