Skip to content

Commit 33f9956

Browse files
committed
Further minor diagnostic improvements upon test failure
1 parent 6e36eea commit 33f9956

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Lib/test/_test_multiprocessing.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6820,6 +6820,9 @@ def test_std_streams_flushed_after_preload(self):
68206820
name = os.path.join(os.path.dirname(__file__), 'mp_preload_flush.py')
68216821
env = {'PYTHONPATH': self._temp_dir}
68226822
rc, out, err = test.support.script_helper.assert_python_ok(name, **env)
6823+
if rc:
6824+
support.print_warning("preload flush test failed with stderr:")
6825+
support.print_warning(err.decode())
68236826
self.assertEqual(rc, 0)
68246827

68256828
# We want to see all the output if it isn't as expected

0 commit comments

Comments
 (0)