summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_asyncio/test_sendfile.py
diff options
context:
space:
mode:
authorNikita Sobolev <mail@sobolevn.me>2022-01-22 11:06:27 (GMT)
committerGitHub <noreply@github.com>2022-01-22 11:06:27 (GMT)
commit5a5340044ca98cbe6297668d91bccba04b102923 (patch)
tree03c491c4739e24dc09560596fce48deda09a0f46 /Lib/test/test_asyncio/test_sendfile.py
parent38afeb1a336f0451c0db86df567ef726f49f6438 (diff)
downloadcpython-5a5340044ca98cbe6297668d91bccba04b102923.zip
cpython-5a5340044ca98cbe6297668d91bccba04b102923.tar.gz
cpython-5a5340044ca98cbe6297668d91bccba04b102923.tar.bz2
bpo-46425: fix direct invocation of `asyncio` tests (#30725)
Diffstat (limited to 'Lib/test/test_asyncio/test_sendfile.py')
-rw-r--r--Lib/test/test_asyncio/test_sendfile.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/Lib/test/test_asyncio/test_sendfile.py b/Lib/test/test_asyncio/test_sendfile.py
index 0a5466a..57b56bb 100644
--- a/Lib/test/test_asyncio/test_sendfile.py
+++ b/Lib/test/test_asyncio/test_sendfile.py
@@ -565,3 +565,7 @@ else:
def create_event_loop(self):
return asyncio.SelectorEventLoop(selectors.SelectSelector())
+
+
+if __name__ == '__main__':
+ unittest.main()