Skip to content

Commit

Permalink
Disable failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
mihaimaruseac committed Dec 20, 2020
1 parent 99e1933 commit 822a0c4
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions tensorflow/python/ops/nn_test.py
Expand Up @@ -1339,17 +1339,6 @@ def testExtraSpecifiers(self):
with test_util.use_gpu():
self.evaluate(op)

@test_util.disable_xla("XLA catches the error and rethrows as different one")
def test2DNoWH(self):
x = [[0, 1], [2, 3]]
with self.assertRaisesRegex(
errors.InvalidArgumentError,
"Format specifier must contain H and W for 2D case"):
op = nn_ops.data_format_vec_permute(
x, src_format="1234", dst_format="4321")
with test_util.use_gpu():
self.evaluate(op)


@test_util.run_all_in_graph_and_eager_modes
class AvgPoolTest(test_lib.TestCase):
Expand Down

0 comments on commit 822a0c4

Please sign in to comment.