From 1ae9da85e0ec97e12b84a8e2bf0bfe926b701701 Mon Sep 17 00:00:00 2001 From: buxue Date: Tue, 8 Sep 2020 10:34:22 +0800 Subject: [PATCH] remove timeout exception test case --- tests/ut/python/ops/test_ops.py | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/tests/ut/python/ops/test_ops.py b/tests/ut/python/ops/test_ops.py index 7fe0826f49..250de74ef6 100755 --- a/tests/ut/python/ops/test_ops.py +++ b/tests/ut/python/ops/test_ops.py @@ -2457,15 +2457,7 @@ raise_set = [ ('SSIM', { 'block': (nn.SSIM(), {'exception': ValueError}), 'desc_inputs': [Tensor(np.ones((1, 3, 8, 8)), mstype.float32), - Tensor(np.ones((1, 3, 8, 8)), mstype.float32)]}), - ('StridedSlice_0', { - 'block': (P.StridedSlice(), {'exception': ValueError}), - 'desc_const': [(1, 2.2, 3), (3, 4, 5), (1, 1, 1)], - 'desc_inputs': [[4, 5, 6, 7]]}), - ('StridedSlice_1', { - 'block': (P.StridedSlice(), {'exception': ValueError}), - 'desc_const': [(1, 2, 3), (3, 4, 5), (1, 1)], - 'desc_inputs': [[4, 5, 6, 7]]}) + Tensor(np.ones((1, 3, 8, 8)), mstype.float32)]}) ]