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

Commit ccc57fa

Browse files
committed
check previously failing tests
1 parent f7f7c30 commit ccc57fa

File tree

5 files changed

+2
-6
lines changed

5 files changed

+2
-6
lines changed

tests/python/unittest/test_contrib_operator.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,6 @@ def assert_match(inputs, x, y, threshold, is_ascend=False):
268268
assert_match([[0.5, 0.6], [0.1, 0.2], [0.3, 0.4]], [1, -1, 0], [2, 0], 1e-12, False)
269269
assert_match([[0.5, 0.6], [0.1, 0.2], [0.3, 0.4]], [-1, 0, 1], [1, 2], 100, True)
270270

271-
@unittest.skipIf(is_aarch64_run(), "test fails on aarch64 - tracked in #20289")
272271
def test_multibox_target_op():
273272
anchors = mx.nd.array([[0.1, 0.2, 0.3, 0.4], [0.5, 0.6, 0.7, 0.8]], ctx=default_context()).reshape((1, -1, 4))
274273
cls_pred = mx.nd.array(list(range(10)), ctx=default_context()).reshape((1, -1, 2))

tests/python/unittest/test_ndarray.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1285,7 +1285,6 @@ def test_output():
12851285

12861286

12871287
@with_seed()
1288-
@unittest.skipIf(is_aarch64_run(), "test fails on aarch64 - tracked in #20289")
12891288
def test_ndarray_fluent():
12901289
has_grad = set(['flatten', 'expand_dims', 'flip', 'tile', 'transpose', 'sum', 'nansum', 'prod',
12911290
'nanprod', 'mean', 'max', 'min', 'reshape', 'broadcast_to', 'split', 'split_v2',

tests/python/unittest/test_numpy_interoperability.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3067,7 +3067,6 @@ def test_np_memory_array_function():
30673067

30683068
@with_seed()
30693069
@use_np
3070-
@unittest.skipIf(is_aarch64_run(), "test fails on aarch64 - tracked in #20289")
30713070
@with_array_function_protocol
30723071
def test_np_array_function_protocol():
30733072
check_interoperability(_NUMPY_ARRAY_FUNCTION_LIST)

tests/python/unittest/test_numpy_op.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3574,7 +3574,6 @@ def hybrid_forward(self, F, x):
35743574

35753575
@with_seed()
35763576
@use_np
3577-
@unittest.skipIf(is_aarch64_run(), "test fails on aarch64 - tracked in #20289")
35783577
def test_np_delete():
35793578
class TestDelete(HybridBlock):
35803579
def __init__(self, obj, axis=None):

tests/python/unittest/test_profiler.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,10 @@ def test_profiler():
6161

6262
for i in range(iter_num):
6363
if i == begin_profiling_iter:
64-
t0 = time.clock()
64+
t0 = time.process_time()
6565
profiler.set_state('run')
6666
if i == end_profiling_iter:
67-
t1 = time.clock()
67+
t1 = time.process_time()
6868
profiler.set_state('stop')
6969
executor.forward()
7070
c = executor.outputs[0]

0 commit comments

Comments
 (0)