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

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.
This commit is contained in:
Jeff Allen 2023-12-25 18:31:57 +00:00 committed by GitHub
parent c0e58168e2
commit bdad5c367f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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