diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2019-09-01 12:12:52 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-01 12:12:52 +0300 |
commit | 5eca7f3f3836cc734dfe8dc5ec669f3b4e9333fe (patch) | |
tree | 2a3eee6b520cafadc4c3b950e73bad0c0b1aa5ce /Lib/test/test_asyncio | |
parent | eb8974616bc58f44b2a3c3e4ca2326894ae42c8f (diff) | |
download | cpython-git-5eca7f3f3836cc734dfe8dc5ec669f3b4e9333fe.tar.gz |
bpo-15999: Always pass bool instead of int to socket.setblocking(). (GH-15621)
Diffstat (limited to 'Lib/test/test_asyncio')
-rw-r--r-- | Lib/test/test_asyncio/functional.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_asyncio/functional.py b/Lib/test/test_asyncio/functional.py index 70cd140f47..4620d3e7a3 100644 --- a/Lib/test/test_asyncio/functional.py +++ b/Lib/test/test_asyncio/functional.py @@ -225,7 +225,7 @@ class TestThreadedServer(SocketThread): def run(self): try: with self._sock: - self._sock.setblocking(0) + self._sock.setblocking(False) self._run() finally: self._s1.close() |