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

Lines 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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy