(content, error_start, error_end)
| 108 | |
| 109 | |
| 110 | def extract_error_line(content, error_start, error_end): |
| 111 | error_line_begin = content.rfind('\n', 0, error_start) |
| 112 | error_line_end = content.find('\n', error_end) |
| 113 | return content[error_line_begin:error_line_end] |
| 114 | |
| 115 | |
| 116 | @pytest.fixture(scope="module") |
no outgoing calls
no test coverage detected