Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit bc111b7

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

File tree

1 file changed

+1
-0
lines changed
Filter options

1 file changed

+1
-0
lines changed

‎test/deprecation/test_various.py

Copy file name to clipboardExpand all lines: test/deprecation/test_various.py
+1Lines changed: 1 addition & 0 deletions
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.