From 69beb38067e13a3770b35012b71b10d67a35f50e Mon Sep 17 00:00:00 2001
From: Georg Sauthoff <mail@gms.tf>
Date: Mon, 19 Feb 2024 16:35:30 -0500
Subject: [PATCH] fix stdout asynio test case
---
tests/test_process.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/test_process.py b/tests/test_process.py
index 11cde06..4026c0e 100644
--- a/tests/test_process.py
+++ b/tests/test_process.py
@@ -902,7 +902,7 @@ class _TestProcessRedirection(_TestProcess):
proc1.stdin.write(data)
proc1.stdin.write_eof()
- stdout_data, _ = await proc2.communicate()
+ stdout_data = await proc2.stdout.read()
self.assertEqual(stdout_data, data.encode('ascii'))