forked from mindspore-Ecosystem/mindspore
disable testcase on mac
This commit is contained in:
parent
4954442991
commit
b5f5e0e632
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue