Skip to content

Commit

Permalink
Remove unnecessary xfail mark on Windows
Browse files Browse the repository at this point in the history
Signed-off-by: Fabrice Normandin <[email protected]>
  • Loading branch information
lebrice committed Oct 11, 2024
1 parent ec41ced commit 439a253
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions tests/cli/test_code.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
moved here, since some of them aren't exactly "integration" tests.
"""

import sys
from unittest.mock import AsyncMock, Mock

import pytest
Expand All @@ -14,7 +13,6 @@
from milatools.cli.utils import running_inside_WSL
from milatools.utils.compute_node import ComputeNode
from milatools.utils.local_v2 import LocalV2
from milatools.utils.remote_v2 import UnsupportedPlatformError


@pytest.fixture
Expand All @@ -39,12 +37,6 @@ def pretend_to_be_in_WSL(
return in_wsl


@pytest.mark.xfail(
sys.platform == "win32",
raises=UnsupportedPlatformError,
reason="Uses RemoteV2, so isn't supported on Windows.",
strict=True,
)
@pytest.mark.parametrize("pretend_to_be_in_WSL", [True, False], indirect=True)
@pytest.mark.asyncio
async def test_code_from_WSL(
Expand Down

0 comments on commit 439a253

Please sign in to comment.