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 committed Mar 5, 2024
1 parent 41786a7 commit 9fd18cb
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 @@ -939,10 +939,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):
# For PR #542 - large character count for changed files
# on windows breaks subprocess
# Need to exceed 32762 characters
Expand Down

0 comments on commit 9fd18cb

Please sign in to comment.