(self)
| 2878 | p.join() |
| 2879 | |
| 2880 | def test_empty_iterable(self): |
| 2881 | # See Issue 12157 |
| 2882 | p = self.Pool(1) |
| 2883 | |
| 2884 | self.assertEqual(p.map(sqr, []), []) |
| 2885 | self.assertEqual(list(p.imap(sqr, [])), []) |
| 2886 | self.assertEqual(list(p.imap_unordered(sqr, [])), []) |
| 2887 | self.assertEqual(p.map_async(sqr, []).get(), []) |
| 2888 | |
| 2889 | p.close() |
| 2890 | p.join() |
| 2891 | |
| 2892 | def test_context(self): |
| 2893 | if self.TYPE == 'processes': |
nothing calls this directly
no test coverage detected