Skip to content

Commit

Permalink
[3.11] gh-76785: Make test.test_interpreters executable (GH-112982) (G…
Browse files Browse the repository at this point in the history
…H-113470) (GH-113473)

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

Co-authored-by: Jeff Allen <ja.py@farowl.co.uk>
  • Loading branch information
miss-islington and jeff5 committed Dec 25, 2023
1 parent bc6528e commit 1162d29
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Lib/test/test_interpreters.py
Original file line number Diff line number Diff line change
Expand Up @@ -745,3 +745,7 @@ def test_recv_nowait_default(self):
self.assertEqual(obj4, b'spam')
self.assertEqual(obj5, b'eggs')
self.assertIs(obj6, default)


if __name__ == "__main__":
unittest.main()

0 comments on commit 1162d29

Please sign in to comment.