(self)
| 221 | self.assertEqual(out.strip(), "1") |
| 222 | |
| 223 | def test_getoutput_error(self): |
| 224 | out, err = getoutputerror(f'{python} "{self.fname}"') |
| 225 | self.assertEqual(out, "on stdout") |
| 226 | self.assertEqual(err, "on stderr") |
| 227 | |
| 228 | def test_get_output_error_code(self): |
| 229 | quiet_exit = '%s -c "import sys; sys.exit(1)"' % python |
nothing calls this directly
no test coverage detected