MCPcopy Index your code
hub / github.com/dmlc/dgl / test_hypergraphatt

Function test_hypergraphatt

tests/examples/test_sparse_examples.py:74–81  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

72
73
74def test_hypergraphatt():
75 script = os.path.join(EXAMPLE_ROOT, "hypergraphatt.py")
76 out = subprocess.run(
77 ["python", str(script), "--epochs=10"], capture_output=True
78 )
79 assert (
80 out.returncode == 0
81 ), f"stdout: {out.stdout.decode('utf-8')}\nstderr: {out.stderr.decode('utf-8')}"
82
83
84def test_sgc():

Callers

nothing calls this directly

Calls 3

joinMethod · 0.45
runMethod · 0.45
decodeMethod · 0.45

Tested by

no test coverage detected