Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 1162d29

Browse filesBrowse files
[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 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>
1 parent bc6528e commit 1162d29
Copy full SHA for 1162d29

File tree

Expand file treeCollapse file tree

1 file changed

+4
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+4
-0
lines changed

‎Lib/test/test_interpreters.py

Copy file name to clipboardExpand all lines: Lib/test/test_interpreters.py
+4Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -745,3 +745,7 @@ def test_recv_nowait_default(self):
745745
self.assertEqual(obj4, b'spam')
746746
self.assertEqual(obj5, b'eggs')
747747
self.assertIs(obj6, default)
748+
749+
750+
if __name__ == "__main__":
751+
unittest.main()

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.