(self, outputs)
| 198 | self.assertDictEqual(call_graph.funcs, dict(G=set('F'), **expected)) |
| 199 | |
| 200 | def create_collector(self, outputs): |
| 201 | Options = collections.namedtuple('OptionsForCollector', ['allowlist']) |
| 202 | options = Options(True) |
| 203 | call_graph = self.create_callgraph(*outputs) |
| 204 | collector = gcmole.GCSuspectsCollector(options, call_graph.funcs) |
| 205 | collector.propagate() |
| 206 | return collector |
| 207 | |
| 208 | def check(self, outputs, expected_gc, expected_gc_caused): |
| 209 | """Verify the GCSuspectsCollector propagation and outputs against test |
no test coverage detected