Skip to content

Commit

Permalink
Skip some more Windows tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Tinche committed Aug 9, 2023
1 parent fbd267b commit a6ddeda
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/test_os.py
Original file line number Diff line number Diff line change
Expand Up @@ -312,6 +312,9 @@ async def test_symlink():
assert exists(src_filename) and exists(dst_filename) is False


@pytest.mark.skipif(
platform.system() == "Windows", reason="Doesn't work on Win properly"
)
@pytest.mark.asyncio
async def test_readlink():
"""Test the readlink call."""
Expand Down Expand Up @@ -455,7 +458,7 @@ async def test_scandir_non_existing_dir():
await aiofiles.os.scandir(some_dir)


@pytest.mark.skipif(platform.system() in ("Windows"), reason="Doesn't work on Win")
@pytest.mark.skipif(platform.system() == "Windows", reason="Doesn't work on Win")
@pytest.mark.asyncio
async def test_access():
temp_file = Path(__file__).parent.joinpath("resources", "os_access_temp.txt")
Expand Down

0 comments on commit a6ddeda

Please sign in to comment.