Skip to content

Commit 761c71d

Browse files
committed
[3.12] pythongh-76785: Make test.test_interpreters executable (pythonGH-112982)
This is so that we can run python -m test.test_interpreters. As such it backports that aspect of commit 86a77f4, where it is implemnented by a package __main__.py.
1 parent 9d72a5c commit 761c71d

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
@@ -1053,3 +1053,7 @@ def test_recv_nowait_default(self):
10531053
self.assertEqual(obj4, b'spam')
10541054
self.assertEqual(obj5, b'eggs')
10551055
self.assertIs(obj6, default)
1056+
1057+
1058+
if __name__ == "__main__":
1059+
unittest.main()

0 commit comments

Comments
 (0)