mirror of
https://github.com/python/cpython.git
synced 2025-11-01 02:38:53 +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
|
|
@ -588,3 +588,7 @@ class BaseEventLoopWithSelectorTests(unittest.TestCase):
|
|||
self.loop._accept_connection(MyProto, sock)
|
||||
self.assertTrue(sock.close.called)
|
||||
self.assertTrue(m_log.exception.called)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue