mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Make various asyncio test files individually runnable
This commit is contained in:
parent
bcd76827f4
commit
cb1fe98f76
8 changed files with 32 additions and 0 deletions
|
@ -478,3 +478,7 @@ class BaseProactorEventLoopTests(unittest.TestCase):
|
|||
self.loop._stop_serving(sock)
|
||||
self.assertTrue(sock.close.called)
|
||||
self.proactor._stop_serving.assert_called_with(sock)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue