summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_asyncio/test_selectors.py
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2013-10-20 19:02:53 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2013-10-20 19:02:53 (GMT)
commitcb1fe98f767676ebe8964345d9872325f19f9164 (patch)
tree1ce23e316e56eff66163984c8882020f1a99945d /Lib/test/test_asyncio/test_selectors.py
parentbcd76827f4ef869454634cabefb695ff7e63967d (diff)
downloadcpython-cb1fe98f767676ebe8964345d9872325f19f9164.zip
cpython-cb1fe98f767676ebe8964345d9872325f19f9164.tar.gz
cpython-cb1fe98f767676ebe8964345d9872325f19f9164.tar.bz2
Make various asyncio test files individually runnable
Diffstat (limited to 'Lib/test/test_asyncio/test_selectors.py')
-rw-r--r--Lib/test/test_asyncio/test_selectors.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/Lib/test/test_asyncio/test_selectors.py b/Lib/test/test_asyncio/test_selectors.py
index 2f7dc69..db5b3ec 100644
--- a/Lib/test/test_asyncio/test_selectors.py
+++ b/Lib/test/test_asyncio/test_selectors.py
@@ -143,3 +143,7 @@ class BaseSelectorTests(unittest.TestCase):
if hasattr(selectors.DefaultSelector, 'fileno'):
def test_fileno(self):
self.assertIsInstance(selectors.DefaultSelector().fileno(), int)
+
+
+if __name__ == '__main__':
+ unittest.main()