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

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