[3.11] gh-76785: Make test.test_interpreters executable (GH-112982) (GH-113470) (GH-113473)

This is so that we can run python -m test.test_interpreters. As such it
backports that aspect of commit 86a77f4e1a,
where it is implemented by a package __main__.py.
(cherry picked from commit bdad5c367f)

Co-authored-by: Jeff Allen <ja.py@farowl.co.uk>
This commit is contained in:
Miss Islington (bot) 2023-12-25 19:46:44 +01:00 committed by GitHub
parent bc6528ee6b
commit 1162d29f5b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -745,3 +745,7 @@ class TestSendRecv(TestBase):
self.assertEqual(obj4, b'spam')
self.assertEqual(obj5, b'eggs')
self.assertIs(obj6, default)
if __name__ == "__main__":
unittest.main()