(cls, n, conn)
| 5848 | |
| 5849 | @classmethod |
| 5850 | def child(cls, n, conn): |
| 5851 | if n > 1: |
| 5852 | p = multiprocessing.Process(target=cls.child, args=(n-1, conn)) |
| 5853 | p.start() |
| 5854 | conn.close() |
| 5855 | join_process(p) |
| 5856 | else: |
| 5857 | conn.send(len(util._afterfork_registry)) |
| 5858 | conn.close() |
| 5859 | |
| 5860 | @warnings_helper.ignore_fork_in_thread_deprecation_warnings() |
| 5861 | def test_lock(self): |
nothing calls this directly
no test coverage detected