Fixing a comment.

PiperOrigin-RevId: 239381372
This commit is contained in:
Vojtech Bardiovsky 2019-03-20 05:59:15 -07:00 committed by TensorFlower Gardener
parent ec1befe9d8
commit 203c4f750e

View File

@ -253,7 +253,8 @@ class DefFunctionTest(test.TestCase):
func = def_function.function(
functools.partial(f, x=constant_op.constant(1)))
# This is a limitation of functools.partial.
# This is a limitation of functools.partial. It is not unexpected behavior,
# but still testing for it for completeness.
with self.assertRaisesRegexp(
TypeError, 'got multiple values for'):
func(5)