Skip to content
This repository was archived by the owner on Nov 17, 2023. It is now read-only.

Commit 1c720fa

Browse files
committed
skip flaky tests
1 parent f761b24 commit 1c720fa

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

tests/python/unittest/test_numpy_interoperability.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3250,13 +3250,15 @@ def test_np_memory_array_function():
32503250
assert op(data_mx, np.ones((5, 0))) == op(data_np, _np.ones((5, 0)))
32513251

32523252

3253+
@unittest.skip("Flaky test https://github.com/apache/incubator-mxnet/issues/17840")
32533254
@with_seed()
32543255
@use_np
32553256
@with_array_function_protocol
32563257
def test_np_array_function_protocol():
32573258
check_interoperability(_NUMPY_ARRAY_FUNCTION_LIST)
32583259

32593260

3261+
@unittest.skip("Flaky test https://github.com/apache/incubator-mxnet/issues/17840")
32603262
@with_seed()
32613263
@use_np
32623264
@with_array_ufunc_protocol

tests/python/unittest/test_numpy_ndarray.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -259,6 +259,7 @@ def check_identity_array_creation(shape, dtype):
259259
assert type(y[1]) == np.ndarray
260260

261261

262+
@unittest.skip("Flaky test https://github.com/apache/incubator-mxnet/issues/17840")
262263
@with_seed()
263264
def test_np_ndarray_binary_element_wise_ops():
264265
np_op_map = {

tests/python/unittest/test_numpy_op.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -636,6 +636,7 @@ def hybrid_forward(self, F, a, b):
636636
assert_almost_equal(b.grad.asnumpy(), np_backward[1], rtol=1e-2, atol=1e-2)
637637

638638

639+
@unittest.skip("Flaky test https://github.com/apache/incubator-mxnet/issues/17840")
639640
@with_seed()
640641
@use_np
641642
def test_np_sum():
@@ -1029,6 +1030,7 @@ def avg_backward(a, w, avg, axes, init_a_grad=None, init_w_grad=None):
10291030
assert_almost_equal(mx_out.asnumpy(), np_out.astype(dtype), rtol=rtol, atol=atol)
10301031

10311032

1033+
@unittest.skip("Flaky test https://github.com/apache/incubator-mxnet/issues/17840")
10321034
@with_seed()
10331035
@use_np
10341036
def test_np_mean():
@@ -2220,6 +2222,7 @@ def hybrid_forward(self, F, x):
22202222
assert same(ret_mx.asnumpy(), ret_np)
22212223

22222224

2225+
@unittest.skip("Flaky test https://github.com/apache/incubator-mxnet/issues/17840")
22232226
@with_seed()
22242227
@use_np
22252228
def test_np_unary_funcs():
@@ -2442,6 +2445,7 @@ def hybrid_forward(self, F, a, *args, **kwargs):
24422445
check_unary_func(func, ref_grad, shape, low, high)
24432446

24442447

2448+
@unittest.skip("Flaky test https://github.com/apache/incubator-mxnet/issues/17840")
24452449
@with_seed()
24462450
@use_np
24472451
def test_np_binary_funcs():

0 commit comments

Comments
 (0)