Skip to content

Commit

Permalink
Don't skip long command test on windows
Browse files Browse the repository at this point in the history
Rename the large file list count test to long command test.
Don't skip the long command test on other platforms
  • Loading branch information
Svenito authored and akaihola committed Mar 5, 2024
1 parent 8c6b013 commit c8c61e5
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/darker/tests/test_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -942,10 +942,7 @@ def test_stdout_path_resolution(git_repo, capsys):
assert capsys.readouterr().out == 'print("foo")\n'


@pytest.mark.skipif(
not sys.platform.startswith("win"), reason="Argument length limit on Windows"
)
def test_large_file_count(git_repo):
def test_long_command_length(git_repo):

Check failure on line 945 in src/darker/tests/test_main.py

View workflow job for this annotation

GitHub Actions / Pylint

src/darker/tests/test_main.py#L945

Missing function or method docstring (missing-function-docstring, C0116)
# For PR #542 - large character count for changed files
# on windows breaks subprocess
# Need to exceed 32762 characters
Expand Down

0 comments on commit c8c61e5

Please sign in to comment.