summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_asyncio/test_futures2.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_asyncio/test_futures2.py')
-rw-r--r--Lib/test/test_asyncio/test_futures2.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/Lib/test/test_asyncio/test_futures2.py b/Lib/test/test_asyncio/test_futures2.py
index 13dbc70..57d2419 100644
--- a/Lib/test/test_asyncio/test_futures2.py
+++ b/Lib/test/test_asyncio/test_futures2.py
@@ -16,3 +16,7 @@ class FutureTests(unittest.IsolatedAsyncioTestCase):
# The check for returned string is not very reliable but
# exact comparison for the whole string is even weaker.
self.assertIn('...', repr(await asyncio.wait_for(func(), timeout=10)))
+
+
+if __name__ == '__main__':
+ unittest.main()