MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / testErrorsReported

Method testErrorsReported

tensorflow/python/client/session_test.py:169–173  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

167 self.assertAllEqual([30.0], results)
168
169 def testErrorsReported(self):
170 with session.Session() as s:
171 constant_op.constant(10.0, name='W1')
172 with self.assertRaises(ValueError):
173 s.run('foo:0')
174
175 def testErrorPayload(self):
176 with session.Session():

Callers

nothing calls this directly

Calls 3

SessionMethod · 0.45
constantMethod · 0.45
runMethod · 0.45

Tested by

no test coverage detected