Add alternative error string to test

PiperOrigin-RevId: 358138650
Change-Id: I4466d14ef64835b12ce0285920055901fe755c2d
This commit is contained in:
Tres Popp 2021-02-18 03:05:03 -08:00 committed by TensorFlower Gardener
parent 233f59079f
commit 129463994d

View File

@ -2284,7 +2284,7 @@ class ParseSequenceExampleTest(test.TestCase):
# Message for batch=false in graph mode: # Message for batch=false in graph mode:
"|.* do not form a valid RaggedTensor" "|.* do not form a valid RaggedTensor"
# Message for batch=false in eager mode: # Message for batch=false in eager mode:
"|Incompatible shapes")) "|Incompatible shapes|required broadcastable shapes"))
@test_util.run_all_in_graph_and_eager_modes @test_util.run_all_in_graph_and_eager_modes