Commit 2e2f34b0 authored by Gaurav Jain's avatar Gaurav Jain Committed by TensorFlower Gardener
Browse files

Fix function test to trigger and catch correct exception

In v1 testInputSignatureForFunctionWithNonTensorInputsNotAllowed was
raising a TypeError when it should have triggered a ValueError. This
was due to the signature being invalid. Once the signature is fixed the
test works in both v1 and v2 mode.

PiperOrigin-RevId: 223740912
parent bb058ae2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment