Fix sporadic test_subprocess regression introduced by 834650d63130.
diff --git a/Lib/test/test_subprocess.py b/Lib/test/test_subprocess.py
index 5deec42..e3462d9 100644
--- a/Lib/test/test_subprocess.py
+++ b/Lib/test/test_subprocess.py
@@ -688,8 +688,8 @@
def test_poll(self):
p = subprocess.Popen([sys.executable, "-c",
- "import os",
- "os.read(1)"], stdin=subprocess.PIPE)
+ "import os; os.read(0, 1)"],
+ stdin=subprocess.PIPE)
self.addCleanup(p.stdin.close)
self.assertIsNone(p.poll())
os.write(p.stdin.fileno(), b'A')