()
| 69 | |
| 70 | @pytest.fixture |
| 71 | def foreign_patch_diff() -> Diff: |
| 72 | patch_contents = """diff --git a/this_file_does_not_exist b/this_file_does_not_exist |
| 73 | index 7f129fd..af431f2 100644 |
| 74 | --- a/this_file_does_not_exist |
| 75 | +++ b/this_file_does_not_exist |
| 76 | @@ -1 +1 @@ |
| 77 | -a contents 2 |
| 78 | +a contents |
| 79 | """ |
| 80 | return pygit2.Diff.parse_diff(patch_contents) |
| 81 | |
| 82 | |
| 83 | def test_apply_type_error(testrepo: Repository) -> None: |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…