Skip to content

Commit

Permalink
Skip test in windows
Browse files Browse the repository at this point in the history
  • Loading branch information
kumaranvpl committed Jan 20, 2025
1 parent 7b01903 commit 2d67856
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions test/interop/crewai/test_crewai.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ def test_type_checks(self) -> None:
# runtime check
assert isinstance(interop, Interoperable)

@pytest.mark.skipif(sys.platform == "win32", reason="This test is not supported on Windows")
def test_convert_tool(self) -> None:
with TemporaryDirectory() as tmp_dir:
file_path = f"{tmp_dir}/test.txt"
Expand Down
1 change: 1 addition & 0 deletions test/interop/test_interoperability.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ def test_supported_types(self) -> None:
@pytest.mark.skipif(
sys.version_info < (3, 10) or sys.version_info >= (3, 13), reason="Only Python 3.10, 3.11, 3.12 are supported"
)
@pytest.mark.skipif(sys.platform == "win32", reason="This test is not supported on Windows")
def test_crewai(self, monkeypatch: pytest.MonkeyPatch) -> None:
monkeypatch.setenv("OPENAI_API_KEY", MOCK_OPEN_AI_API_KEY)
from crewai_tools import FileReadTool
Expand Down

0 comments on commit 2d67856

Please sign in to comment.