bpo-46425: fix direct invocation of asyncio tests (GH-30725) (#30782)

(cherry picked from commit 5a5340044c)

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
This commit is contained in:
Miss Islington (bot) 2022-01-22 04:29:51 -08:00 committed by GitHub
parent 90e2998db7
commit 6111d5dee2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 25 additions and 2 deletions

View file

@ -55,3 +55,7 @@ class ProtocolsAbsTests(unittest.TestCase):
self.assertIsNone(sp.pipe_connection_lost(1, f))
self.assertIsNone(sp.process_exited())
self.assertFalse(hasattr(sp, '__dict__'))
if __name__ == '__main__':
unittest.main()