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

Commit

Permalink
check previously failing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mseth10 committed Jul 3, 2021
1 parent f7f7c30 commit c28212e
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 9 deletions.
3 changes: 0 additions & 3 deletions tests/python/unittest/test_ndarray.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,11 @@
from mxnet.test_utils import np_reduce
from mxnet.test_utils import same
from mxnet.test_utils import random_sample, rand_shape_nd, random_arrays
from mxnet.test_utils import is_aarch64_run
from mxnet import runtime
from numpy.testing import assert_allclose, assert_array_equal, assert_array_almost_equal
import mxnet.autograd
from mxnet.base import integer_types
from mxnet.ndarray.ndarray import py_slice
import unittest


def check_with_uniform(uf, arg_shapes, dim=None, npuf=None, rmin=-10, type_list=[np.float32]):
Expand Down Expand Up @@ -1285,7 +1283,6 @@ def test_output():


@with_seed()
@unittest.skipIf(is_aarch64_run(), "test fails on aarch64 - tracked in #20289")
def test_ndarray_fluent():
has_grad = set(['flatten', 'expand_dims', 'flip', 'tile', 'transpose', 'sum', 'nansum', 'prod',
'nanprod', 'mean', 'max', 'min', 'reshape', 'broadcast_to', 'split', 'split_v2',
Expand Down
2 changes: 0 additions & 2 deletions tests/python/unittest/test_numpy_interoperability.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
from mxnet.test_utils import assert_almost_equal
from mxnet.test_utils import use_np
from mxnet.test_utils import is_op_runnable
from mxnet.test_utils import is_aarch64_run
from common import assertRaises, with_seed, random_seed, setup_module, teardown
from mxnet.numpy_dispatch_protocol import with_array_function_protocol, with_array_ufunc_protocol
from mxnet.numpy_dispatch_protocol import _NUMPY_ARRAY_FUNCTION_LIST, _NUMPY_ARRAY_UFUNC_LIST
Expand Down Expand Up @@ -3067,7 +3066,6 @@ def test_np_memory_array_function():

@with_seed()
@use_np
@unittest.skipIf(is_aarch64_run(), "test fails on aarch64 - tracked in #20289")
@with_array_function_protocol
def test_np_array_function_protocol():
check_interoperability(_NUMPY_ARRAY_FUNCTION_LIST)
Expand Down
2 changes: 0 additions & 2 deletions tests/python/unittest/test_numpy_op.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@
from mxnet.test_utils import check_numeric_gradient, use_np, collapse_sum_like, effective_dtype
from mxnet.test_utils import new_matrix_with_real_eigvals_nd
from mxnet.test_utils import new_sym_matrix_with_real_eigvals_nd
from mxnet.test_utils import is_aarch64_run
from common import assertRaises, with_seed
import random
from mxnet.test_utils import verify_generator, gen_buckets_probs_with_ppf
Expand Down Expand Up @@ -3574,7 +3573,6 @@ def hybrid_forward(self, F, x):

@with_seed()
@use_np
@unittest.skipIf(is_aarch64_run(), "test fails on aarch64 - tracked in #20289")
def test_np_delete():
class TestDelete(HybridBlock):
def __init__(self, obj, axis=None):
Expand Down
4 changes: 2 additions & 2 deletions tests/python/unittest/test_profiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,10 @@ def test_profiler():

for i in range(iter_num):
if i == begin_profiling_iter:
t0 = time.clock()
t0 = time.process_time()
profiler.set_state('run')
if i == end_profiling_iter:
t1 = time.clock()
t1 = time.process_time()
profiler.set_state('stop')
executor.forward()
c = executor.outputs[0]
Expand Down

0 comments on commit c28212e

Please sign in to comment.