Skip to content

Commit 1162d29

Browse 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

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Lib/test/test_interpreters.py

Lines 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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy