(self)
| 7 | |
| 8 | class Test_Data(object): |
| 9 | def setup_class(self): |
| 10 | self.dataset = build_dataset_from_name("cora") |
| 11 | self.data = self.dataset[0] |
| 12 | self.num_nodes = self.data.num_nodes |
| 13 | self.num_edges = self.data.num_edges |
| 14 | self.num_features = self.data.num_features |
| 15 | print("Call Setup") |
| 16 | |
| 17 | def test_subgraph_sampling(self): |
| 18 | sampled_nodes = np.random.randint(0, self.num_nodes, (100,)) |
nothing calls this directly
no test coverage detected