aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Lib/test/test_asyncio/test_context.py
diff options
context:
space:
mode:
authorNikita Sobolev <mail@sobolevn.me>2022-01-22 14:06:27 +0300
committerGitHub <noreply@github.com>2022-01-22 13:06:27 +0200
commit5a5340044ca98cbe6297668d91bccba04b102923 (patch)
tree03c491c4739e24dc09560596fce48deda09a0f46 /Lib/test/test_asyncio/test_context.py
parent38afeb1a336f0451c0db86df567ef726f49f6438 (diff)
downloadcpython-5a5340044ca98cbe6297668d91bccba04b102923.tar.gz
cpython-5a5340044ca98cbe6297668d91bccba04b102923.zip
bpo-46425: fix direct invocation of `asyncio` tests (#30725)
Diffstat (limited to 'Lib/test/test_asyncio/test_context.py')
-rw-r--r--Lib/test/test_asyncio/test_context.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/Lib/test/test_asyncio/test_context.py b/Lib/test/test_asyncio/test_context.py
index 63b1eb320ce..6b80721873d 100644
--- a/Lib/test/test_asyncio/test_context.py
+++ b/Lib/test/test_asyncio/test_context.py
@@ -32,3 +32,7 @@ class DecimalContextTest(unittest.TestCase):
self.assertEqual(str(r2[0]), '0.333333')
self.assertEqual(str(r2[1]), '0.111111')
+
+
+if __name__ == '__main__':
+ unittest.main()