Skip to content

Commit bc111b7

Browse files
committed
Add a TODO for simplifying the single_diff fixture
1 parent fffa6ce commit bc111b7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/deprecation/test_various.py

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
@pytest.fixture
1616
def single_diff(tmp_path):
1717
"""Fixture to supply a single-file diff."""
18+
# TODO: Consider making a fake diff rather than using a real repo and commit.
1819
(tmp_path / "a.txt").write_text("hello\n", encoding="utf-8")
1920
repo = Repo.init(tmp_path)
2021
repo.index.add(["a.txt"])

0 commit comments

Comments
 (0)