summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_asyncio
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2022-12-04 12:28:56 (GMT)
committerGitHub <noreply@github.com>2022-12-04 12:28:56 (GMT)
commit76f43fc09af29401cc0cec7710b03e4dbf8a4578 (patch)
tree562adc6639c1487f8d1a27fbdecbd78957dc0390 /Lib/test/test_asyncio
parentbf26bdf6ac04878fc720e78422991aaedb9808a1 (diff)
downloadcpython-76f43fc09af29401cc0cec7710b03e4dbf8a4578.zip
cpython-76f43fc09af29401cc0cec7710b03e4dbf8a4578.tar.gz
cpython-76f43fc09af29401cc0cec7710b03e4dbf8a4578.tar.bz2
gh-60203: Always pass True/False as boolean arguments in tests (GH-99983)
Unless we explicitly test non-bool values.
Diffstat (limited to 'Lib/test/test_asyncio')
-rw-r--r--Lib/test/test_asyncio/test_ssl.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_asyncio/test_ssl.py b/Lib/test/test_asyncio/test_ssl.py
index 5de9b7a..aaf3c37 100644
--- a/Lib/test/test_asyncio/test_ssl.py
+++ b/Lib/test/test_asyncio/test_ssl.py
@@ -1689,7 +1689,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()