(self, source, expect, *flags)
| 2553 | return self.text_normalize(output.getvalue()) |
| 2554 | |
| 2555 | def check_output(self, source, expect, *flags): |
| 2556 | with self.subTest(source=source, flags=flags): |
| 2557 | self.set_source(source) |
| 2558 | res = self.invoke_dis(*flags) |
| 2559 | expect = self.text_normalize(expect) |
| 2560 | self.assertListEqual(res.splitlines(), expect.splitlines()) |
| 2561 | |
| 2562 | def test_invocation(self): |
| 2563 | # test various combinations of parameters |
no test coverage detected