Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Commitbc111b7

Browse files
committed
Add a TODO for simplifying the single_diff fixture
1 parentfffa6ce commitbc111b7

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
defsingle_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)

[8]ページ先頭

©2009-2025 Movatter.jp