Skip to content

Commit

Permalink
test: better explanation for --formatter=none unit test repo fixture
Browse files Browse the repository at this point in the history
  • Loading branch information
akaihola committed Jan 2, 2025
1 parent dc7cb4d commit ee0de17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/darker/tests/test_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -666,7 +666,7 @@ def test_long_command_length(git_repo):

@pytest.fixture(scope="module")
def formatter_none_repo(git_repo_m):
"""Create a Git repository with a single file and a formatter that does nothing."""
"""Create a Git repo with a single file to test a formatter that does nothing."""
files = git_repo_m.add({"file1.py": "# old content\n"}, commit="Initial")
files["file1.py"].write_text(
dedent(
Expand Down

0 comments on commit ee0de17

Please sign in to comment.