(cls, wconn, id)
| 613 | |
| 614 | @classmethod |
| 615 | def _test_recursion(cls, wconn, id): |
| 616 | wconn.send(id) |
| 617 | if len(id) < 2: |
| 618 | for i in range(2): |
| 619 | p = cls.Process( |
| 620 | target=cls._test_recursion, args=(wconn, id+[i]) |
| 621 | ) |
| 622 | p.start() |
| 623 | p.join() |
| 624 | |
| 625 | def test_recursion(self): |
| 626 | rconn, wconn = self.Pipe(duplex=False) |