(testrepo: Repository)
| 271 | |
| 272 | |
| 273 | def test_patch_multi_blob(testrepo: Repository) -> None: |
| 274 | blob = testrepo[BLOB_OLD_SHA] |
| 275 | assert isinstance(blob, Blob) |
| 276 | patch = pygit2.Patch.create_from(blob, None) |
| 277 | patch_text = patch.text |
| 278 | |
| 279 | blob = testrepo[BLOB_OLD_SHA] |
| 280 | assert isinstance(blob, Blob) |
| 281 | patch2 = pygit2.Patch.create_from(blob, None) |
| 282 | patch_text2 = patch.text |
| 283 | |
| 284 | assert patch_text == patch_text2 |
| 285 | assert patch_text == patch.text |
| 286 | assert patch_text2 == patch2.text |
| 287 | assert patch.text == patch2.text |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…