Skip to content

Commit bdad5c3

Browse files
authored
[3.12] gh-76785: Make test.test_interpreters executable (GH-112982) (GH-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.
1 parent c0e5816 commit bdad5c3

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)