From 1828baf1058708b52233baea44cdd6edfcbe47a6 Mon Sep 17 00:00:00 2001 From: He Sichao <1310722434@qq.com> Date: Fri, 22 Nov 2024 18:00:05 +0800 Subject: [PATCH] Update test_activation.py --- brainpy/_src/dnn/tests/test_activation.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/brainpy/_src/dnn/tests/test_activation.py b/brainpy/_src/dnn/tests/test_activation.py index 7a0fa57a..78e7641d 100644 --- a/brainpy/_src/dnn/tests/test_activation.py +++ b/brainpy/_src/dnn/tests/test_activation.py @@ -1,7 +1,13 @@ +import platform + from absl.testing import absltest from absl.testing import parameterized import brainpy as bp import brainpy.math as bm +import pytest + +if platform.system() == 'Darwin': + pytest.skip('skip Mac OS', allow_module_level=True) class Test_Activation(parameterized.TestCase):