From b5f5e0e6320fc5dcc7239d41fce59d86c642aaa4 Mon Sep 17 00:00:00 2001 From: wilfChen Date: Wed, 16 Mar 2022 14:32:28 +0800 Subject: [PATCH] disable testcase on mac --- tests/st/ops/cpu/test_priority_replay_buffer_test.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/st/ops/cpu/test_priority_replay_buffer_test.py b/tests/st/ops/cpu/test_priority_replay_buffer_test.py index 228667ad609..1c091fdd731 100644 --- a/tests/st/ops/cpu/test_priority_replay_buffer_test.py +++ b/tests/st/ops/cpu/test_priority_replay_buffer_test.py @@ -13,6 +13,7 @@ # limitations under the License. # ============================================================================ +import sys import pytest import numpy as np import mindspore @@ -49,6 +50,9 @@ def test_priority_replay_buffer_ops(): Description: test cases PriorityReplayBuffer. Expectation: push, sample, update operators result correct. """ + if sys.platform == 'darwin': + return + capacity = 200 batch_size = 32 state_shape, state_dtype = (17,), mindspore.float32