(self)
| 201 | ) |
| 202 | |
| 203 | def test_getoutput(self): |
| 204 | out = getoutput(f'{python} "{self.fname}"') |
| 205 | # we can't rely on the order the line buffered streams are flushed |
| 206 | try: |
| 207 | self.assertEqual(out, "on stderron stdout") |
| 208 | except AssertionError: |
| 209 | self.assertEqual(out, "on stdouton stderr") |
| 210 | |
| 211 | def test_getoutput_quoted(self): |
| 212 | out = getoutput('%s -c "print (1)"' % python) |
nothing calls this directly
no test coverage detected