(barerepo: Repository)
| 207 | |
| 208 | |
| 209 | def test_diff_invalid(barerepo: Repository) -> None: |
| 210 | commit_a = barerepo[COMMIT_SHA1_1] |
| 211 | commit_b = barerepo[COMMIT_SHA1_2] |
| 212 | with pytest.raises(TypeError): |
| 213 | commit_a.tree.diff_to_tree(commit_b) # type: ignore |
| 214 | with pytest.raises(TypeError): |
| 215 | commit_a.tree.diff_to_index(commit_b) # type: ignore |
| 216 | |
| 217 | |
| 218 | def test_diff_empty_index_bare(barerepo: Repository) -> None: |
nothing calls this directly
no test coverage detected
searching dependent graphs…