(self, *args)
| 2948 | save_restore_converters(self) |
| 2949 | |
| 2950 | def run_clinic(self, *args): |
| 2951 | with ( |
| 2952 | support.captured_stdout() as out, |
| 2953 | support.captured_stderr() as err, |
| 2954 | self.assertRaises(SystemExit) as cm |
| 2955 | ): |
| 2956 | clinic.main(args) |
| 2957 | return out.getvalue(), err.getvalue(), cm.exception.code |
| 2958 | |
| 2959 | def expect_success(self, *args): |
| 2960 | out, err, code = self.run_clinic(*args) |
no test coverage detected