File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
Lib/test/test_concurrent_futures Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change 1111from logging .handlers import QueueHandler
1212
1313from test import support
14+ from test .support import warnings_helper
1415
1516from .util import ExecutorMixin , create_executor_tests , setup_module
1617
@@ -48,6 +49,7 @@ def setUp(self):
4849 initargs = ('initialized' ,))
4950 super ().setUp ()
5051
52+ @warnings_helper .ignore_warnings (category = DeprecationWarning ) # gh-135427
5153 def test_initializer (self ):
5254 futures = [self .executor .submit (get_init_status )
5355 for _ in range (self .worker_count )]
@@ -74,6 +76,7 @@ def setUp(self):
7476 self .executor_kwargs = dict (initializer = init_fail )
7577 super ().setUp ()
7678
79+ @warnings_helper .ignore_warnings (category = DeprecationWarning ) # gh-135427
7780 def test_initializer (self ):
7881 with self ._assert_logged ('ValueError: error in initializer' ):
7982 try :
You can’t perform that action at this time.
0 commit comments