Make various asyncio test files individually runnable

This commit is contained in:
Antoine Pitrou 2013-10-20 21:02:53 +02:00
parent bcd76827f4
commit cb1fe98f76
8 changed files with 32 additions and 0 deletions

View file

@ -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()