From f01e950a2d137f9ee0fb0cde433d75f289bdfb3f Mon Sep 17 00:00:00 2001 From: PatrickAlphac <54278053+PatrickAlphaC@users.noreply.github.com> Date: Thu, 18 Jul 2024 20:45:21 -0400 Subject: [PATCH] fixed tests for macos --- tests/integration/fork/{test_logs.py => test_logs_weth.py} | 0 tests/unitary/jupyter/test_handlers.py | 2 ++ 2 files changed, 2 insertions(+) rename tests/integration/fork/{test_logs.py => test_logs_weth.py} (100%) diff --git a/tests/integration/fork/test_logs.py b/tests/integration/fork/test_logs_weth.py similarity index 100% rename from tests/integration/fork/test_logs.py rename to tests/integration/fork/test_logs_weth.py diff --git a/tests/unitary/jupyter/test_handlers.py b/tests/unitary/jupyter/test_handlers.py index 4a7119ad..f963e538 100644 --- a/tests/unitary/jupyter/test_handlers.py +++ b/tests/unitary/jupyter/test_handlers.py @@ -1,3 +1,4 @@ +import sys from multiprocessing.shared_memory import SharedMemory from unittest.mock import MagicMock @@ -72,6 +73,7 @@ def test_invalid_token(callback_handler, token): ) +@pytest.mark.skipif(sys.platform == "darwin", reason="Test skipped on macOS") def test_value_error(callback_handler, token, shared_memory): callback_handler.request.body = b"0" * SHARED_MEMORY_LENGTH # no space for the \0 callback_handler.post(token)