Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
[3.12] gh-76785: Make test.test_interpreters executable (GH-112982) (G…
…H-113470)

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 <[email protected]>
  • Loading branch information
jeff5 authored and miss-islington committed Dec 25, 2023
commit 94365bc7728fbe4b27c6be55f9c955242ac6b641
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()