We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fffa6ce commit bc111b7Copy full SHA for bc111b7
test/deprecation/test_various.py
@@ -15,6 +15,7 @@
15
@pytest.fixture
16
def single_diff(tmp_path):
17
"""Fixture to supply a single-file diff."""
18
+ # TODO: Consider making a fake diff rather than using a real repo and commit.
19
(tmp_path / "a.txt").write_text("hello\n", encoding="utf-8")
20
repo = Repo.init(tmp_path)
21
repo.index.add(["a.txt"])
0 commit comments