MCPcopy
hub / github.com/dmlc/dgl / test_gcnii

Function test_gcnii

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

Source from the content-addressed store, hash-verified

22
23
24def test_gcnii():
25 script = os.path.join(EXAMPLE_ROOT, "gcnii.py")
26 out = subprocess.run(["python", str(script)], capture_output=True)
27 assert (
28 out.returncode == 0
29 ), f"stdout: {out.stdout.decode('utf-8')}\nstderr: {out.stderr.decode('utf-8')}"
30 stdout = out.stdout.decode("utf-8")
31 assert float(stdout[-5:]) > 0.75
32
33
34def test_appnp():

Callers

nothing calls this directly

Calls 3

joinMethod · 0.45
runMethod · 0.45
decodeMethod · 0.45

Tested by

no test coverage detected