()
| 14 | |
| 15 | @unittest.skipIf(os.name == "nt", reason="Do not support windows yet") |
| 16 | def test_torch_ipc(): |
| 17 | g = dgl.graph(([0, 1, 2], [1, 2, 3])) |
| 18 | ctx = mp.get_context("spawn") |
| 19 | p = ctx.Process(target=sub_ipc, args=(g,)) |
| 20 | |
| 21 | p.start() |
| 22 | p.join() |
| 23 | |
| 24 | |
| 25 | if __name__ == "__main__": |
no test coverage detected