summaryrefslogtreecommitdiff
path: root/Lib/test/test_asyncio/test_proactor_events.py
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2013-10-20 21:02:53 +0200
committerAntoine Pitrou <solipsis@pitrou.net>2013-10-20 21:02:53 +0200
commitcb1fe98f767676ebe8964345d9872325f19f9164 (patch)
tree1ce23e316e56eff66163984c8882020f1a99945d /Lib/test/test_asyncio/test_proactor_events.py
parentbcd76827f4ef869454634cabefb695ff7e63967d (diff)
downloadcpython-git-cb1fe98f767676ebe8964345d9872325f19f9164.tar.gz
Make various asyncio test files individually runnable
Diffstat (limited to 'Lib/test/test_asyncio/test_proactor_events.py')
-rw-r--r--Lib/test/test_asyncio/test_proactor_events.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/Lib/test/test_asyncio/test_proactor_events.py b/Lib/test/test_asyncio/test_proactor_events.py
index 05d1606c07..5a2a51c42e 100644
--- a/Lib/test/test_asyncio/test_proactor_events.py
+++ b/Lib/test/test_asyncio/test_proactor_events.py
@@ -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()