mirror of
https://github.com/python/cpython.git
synced 2025-07-23 03:05:38 +00:00
gh-60203: Always pass True/False as boolean arguments in tests (GH-99983)
Unless we explicitly test non-bool values.
(cherry picked from commit 76f43fc09a
)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
This commit is contained in:
parent
9e38553132
commit
7aa87bba05
5 changed files with 9 additions and 8 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue