()
| 449 | |
| 450 | |
| 451 | def test_parse_diff_bad() -> None: |
| 452 | diff = textwrap.dedent( |
| 453 | """ |
| 454 | diff --git a/file1 b/file1 |
| 455 | old mode 0644 |
| 456 | new mode 0644 |
| 457 | @@ -1,1 +1,1 @@ |
| 458 | -Hi! |
| 459 | """ |
| 460 | ) |
| 461 | with pytest.raises(pygit2.GitError): |
| 462 | pygit2.Diff.parse_diff(diff) |
| 463 | |
| 464 | |
| 465 | def test_diff_blobs(emptyrepo: Repository) -> None: |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…