Skip to content

Commit

Permalink
Skip sendfile on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Tinche committed Aug 9, 2023
1 parent 4182dd7 commit c33ed0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_os.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ async def test_replace():
reason="sendfile() syscall doesn't allow file->file",
)
@pytest.mark.skipif(
platform.system() == "Darwin", reason="sendfile() doesn't work on mac"
platform.system() in ("Darwin", "Windows"), reason="sendfile() doesn't work on mac"
)
@pytest.mark.asyncio
async def test_sendfile_file(tmpdir):
Expand Down

0 comments on commit c33ed0c

Please sign in to comment.