(self, text, signatures_in_block=2, function_index=1)
| 1010 | return block |
| 1011 | |
| 1012 | def parse_function(self, text, signatures_in_block=2, function_index=1): |
| 1013 | block = self.parse(text) |
| 1014 | s = block.signatures |
| 1015 | self.assertEqual(len(s), signatures_in_block) |
| 1016 | assert isinstance(s[0], Module) |
| 1017 | assert isinstance(s[function_index], Function) |
| 1018 | return s[function_index] |
| 1019 | |
| 1020 | def expect_failure(self, block, err, *, |
| 1021 | filename=None, lineno=None, strip=True): |
no test coverage detected