Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
test_concurrent_futures.test_init
1 parent de1f686 commit d687d3fCopy full SHA for d687d3f
Lib/test/test_concurrent_futures/test_init.py
@@ -4,6 +4,7 @@
4
import time
5
import unittest
6
import sys
7
+import io
8
from concurrent.futures._base import BrokenExecutor
9
from concurrent.futures.process import _check_system_limits
10
@@ -124,7 +125,7 @@ def _test(self, test_class):
124
125
except NotImplementedError:
126
self.skipTest("ProcessPoolExecutor unavailable on this system")
127
- runner = unittest.TextTestRunner()
128
+ runner = unittest.TextTestRunner(stream=io.StringIO())
129
runner.run(test_class('test_initializer'))
130
131
# GH-104090:
0 commit comments