(self)
| 3062 | self.assertRaises(SayWhenError, it.__next__) |
| 3063 | |
| 3064 | def test_imap_unordered(self): |
| 3065 | it = self.pool.imap_unordered(sqr, list(range(10))) |
| 3066 | self.assertEqual(sorted(it), list(map(sqr, list(range(10))))) |
| 3067 | |
| 3068 | it = self.pool.imap_unordered(sqr, list(range(1000)), chunksize=100) |
| 3069 | self.assertEqual(sorted(it), list(map(sqr, list(range(1000))))) |
| 3070 | |
| 3071 | def test_imap_unordered_handle_iterable_exception(self): |
| 3072 | if self.TYPE == 'manager': |
nothing calls this directly
no test coverage detected