Skip to content

Commit e021fbd

Browse files
Ignore the fork-in-thread deprecation warning in test_map_close
1 parent fc93c75 commit e021fbd

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Lib/test/test_concurrent_futures/executor.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@ def test_map_timeout(self):
108108
self.assertRaises(StopIteration, next, i)
109109
self.assertRaises(StopIteration, next, i)
110110

111+
@warnings_helper.ignore_fork_in_thread_deprecation_warnings()
111112
def test_map_close(self):
112113
i = self.executor.map(divmod, [5, 5, 5, 5], [2, 0, 3, 5])
113114
self.assertEqual(next(i), (2, 1))

0 commit comments

Comments
 (0)