disable testcase on mac

This commit is contained in:
wilfChen 2022-03-16 14:32:28 +08:00
parent 4954442991
commit b5f5e0e632
1 changed files with 4 additions and 0 deletions

View File

@ -13,6 +13,7 @@
# limitations under the License. # limitations under the License.
# ============================================================================ # ============================================================================
import sys
import pytest import pytest
import numpy as np import numpy as np
import mindspore import mindspore
@ -49,6 +50,9 @@ def test_priority_replay_buffer_ops():
Description: test cases PriorityReplayBuffer. Description: test cases PriorityReplayBuffer.
Expectation: push, sample, update operators result correct. Expectation: push, sample, update operators result correct.
""" """
if sys.platform == 'darwin':
return
capacity = 200 capacity = 200
batch_size = 32 batch_size = 32
state_shape, state_dtype = (17,), mindspore.float32 state_shape, state_dtype = (17,), mindspore.float32