(self, *flags)
| 2544 | fp.write(self.text_normalize(content)) |
| 2545 | |
| 2546 | def invoke_dis(self, *flags): |
| 2547 | output = io.StringIO() |
| 2548 | with contextlib.redirect_stdout(output): |
| 2549 | dis.main(args=[*flags, self.filename]) |
| 2550 | return self.text_normalize(output.getvalue()) |
| 2551 | |
| 2552 | def check_output(self, source, expect, *flags): |
| 2553 | with self.subTest(source=source, flags=flags): |
no test coverage detected