From aa1be9335002f8dc0358a538e1fd757bc0f2f6f3 Mon Sep 17 00:00:00 2001 From: Frank Liu Date: Wed, 8 Aug 2018 17:39:24 -0700 Subject: [PATCH] Re-enabling test_operator.test_binary_math_operators (#11712) (#12053) Test passes on CPU and GPU (10000 runs) --- tests/python/unittest/test_operator.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/python/unittest/test_operator.py b/tests/python/unittest/test_operator.py index 9dc2312eb246..17b5b3c1be18 100644 --- a/tests/python/unittest/test_operator.py +++ b/tests/python/unittest/test_operator.py @@ -5951,8 +5951,7 @@ def finite_diff_binary_op( # - Forward: Comparison to NumPy (several dtype) # - Backward: Comparison to NumPy (several dtype) # - Finite difference tests (only dtype = float64) -# Seed set because the test is not robust enough to operate on random data -@with_seed(192837465) +@with_seed() def test_binary_math_operators(): shape=(9, 10) dtype_l = [np.float64, np.float32, np.float16]