From 378317d52f5e05ee8fa114ccbe9fa2d78878dbcc Mon Sep 17 00:00:00 2001 From: Mihai Maruseac Date: Tue, 19 Oct 2021 20:28:52 -0700 Subject: [PATCH] Revert "Disabling some tests as they fail with numpy 1.20" --- tensorflow/python/framework/test_util_test.py | 1 - tensorflow/python/kernel_tests/map_ops_test.py | 1 - 2 files changed, 2 deletions(-) diff --git a/tensorflow/python/framework/test_util_test.py b/tensorflow/python/framework/test_util_test.py index b1d0ba3e40aed9..85cc7b88581c52 100644 --- a/tensorflow/python/framework/test_util_test.py +++ b/tensorflow/python/framework/test_util_test.py @@ -292,7 +292,6 @@ def testAssertRaisesOpErrorDoesNotPassMessageDueToLeakedStack(self): @test_util.run_in_graph_and_eager_modes def testAllCloseTensors(self): - self.skipTest("b/182342669; fails with numpy 1.20") a_raw_data = [[1, 2, 3], [4, 5, 6], [7, 8, 9]] a = constant_op.constant(a_raw_data) b = math_ops.add(1, constant_op.constant([[0, 1, 2], [3, 4, 5], [6, 7, 8]])) diff --git a/tensorflow/python/kernel_tests/map_ops_test.py b/tensorflow/python/kernel_tests/map_ops_test.py index e0b971abc95178..771e22e5c5e068 100644 --- a/tensorflow/python/kernel_tests/map_ops_test.py +++ b/tensorflow/python/kernel_tests/map_ops_test.py @@ -284,7 +284,6 @@ def testDiffKeySameValueGrad(self): del tape def testLookupAddGrad(self): - self.skipTest("b/182342669; fails with numpy 1.20") with backprop.GradientTape(persistent=True) as tape: k = constant_op.constant(1.0) k2 = constant_op.constant(2.0)