Skip to content

Commit 3f07ff7

Browse files
committed
Remove redundant check
1 parent e73ea34 commit 3f07ff7

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

Lib/test/_test_multiprocessing.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6823,11 +6823,7 @@ def test_std_streams_flushed_after_preload(self):
68236823

68246824
name = os.path.join(os.path.dirname(__file__), 'mp_preload_flush.py')
68256825
env = {'PYTHONPATH': self._temp_dir}
6826-
rc, out, err = test.support.script_helper.assert_python_ok(name, **env)
6827-
if rc:
6828-
support.print_warning("preload flush test failed with stderr:")
6829-
support.print_warning(err.decode())
6830-
self.assertEqual(rc, 0)
6826+
_, out, err = test.support.script_helper.assert_python_ok(name, **env)
68316827

68326828
# Check stderr first, as it is more likely to be useful to see in the
68336829
# event of a failure.

0 commit comments

Comments
 (0)