()
| 16 | |
| 17 | |
| 18 | def test_CalledProcessError_str(): |
| 19 | error = CalledProcessError(1, ('exe',), b'output\n', b'errors\n') |
| 20 | assert str(error) == ( |
| 21 | "command: ('exe',)\n" |
| 22 | 'return code: 1\n' |
| 23 | 'stdout:\n' |
| 24 | ' output\n' |
| 25 | 'stderr:\n' |
| 26 | ' errors' |
| 27 | ) |
| 28 | |
| 29 | |
| 30 | def test_CalledProcessError_str_nooutput(): |
nothing calls this directly
no test coverage detected