Skip to content

Commit

Permalink
Remove redundant capsys parameter from test
Browse files Browse the repository at this point in the history
Co-authored-by: Trent Apted <[email protected]>
  • Loading branch information
akaihola and tapted authored May 31, 2023
1 parent ad4f79c commit 5a2d820
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/darker/tests/test_linting.py
Original file line number Diff line number Diff line change
Expand Up @@ -599,7 +599,7 @@ def __init__(
assert self.stderr.read() == ""


def test_get_messages_from_linters_for_baseline_no_mypy_errors(git_repo, capsys):
def test_get_messages_from_linters_for_baseline_no_mypy_errors(git_repo):
"""Test for `linting._get_messages_from_linters_for_baseline`"""
git_repo.add({"__init__.py": ""}, commit="Initial commit")
initial = git_repo.get_hash()
Expand Down

0 comments on commit 5a2d820

Please sign in to comment.