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 f35b44a commit d0a2498Copy full SHA for d0a2498
Lib/test/test_winapi.py
@@ -144,7 +144,7 @@ def test_namedpipe(self):
144
# Pipe instance is available, so this passes
145
_winapi.WaitNamedPipe(pipe_name, 0)
146
147
- with open(pipe_name, 'w+b') as pipe2:
+ with open(pipe_name, 'w+b', buffering=0) as pipe2:
148
# No instances available, so this times out
149
# (WinError 121 does not get mapped to TimeoutError)
150
with self.assertRaises(OSError):
0 commit comments