Skip to content

Commit 21f828f

Browse files
committed
elif vs if makes a difference...
1 parent a339662 commit 21f828f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/test/_test_multiprocessing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5558,7 +5558,7 @@ def test_get_all_start_methods(self):
55585558
self.assertIn('spawn', methods)
55595559
if sys.platform == 'win32':
55605560
self.assertEqual(methods, ['spawn'])
5561-
if sys.platform == 'darwin':
5561+
elif sys.platform == 'darwin':
55625562
self.assertEqual(methods[0], 'spawn') # The default is first.
55635563
# Whether these work or not, they remain available on macOS.
55645564
self.assertIn('fork', methods)

0 commit comments

Comments
 (0)