(self)
| 56 | self.executor.submit(arg=1) |
| 57 | |
| 58 | def test_map(self): |
| 59 | self.assertEqual( |
| 60 | list(self.executor.map(pow, range(10), range(10))), |
| 61 | list(map(pow, range(10), range(10)))) |
| 62 | |
| 63 | self.assertEqual( |
| 64 | list(self.executor.map(pow, range(10), range(10), chunksize=3)), |
| 65 | list(map(pow, range(10), range(10)))) |
| 66 | |
| 67 | def test_map_exception(self): |
| 68 | i = self.executor.map(divmod, [1, 1, 1, 1], [2, 3, 0, 5]) |
nothing calls this directly
no test coverage detected