(self)
| 35 | class RawOpsTest(test.TestCase, parameterized.TestCase): |
| 36 | |
| 37 | def testSimple(self): |
| 38 | x = constant_op.constant(1) |
| 39 | self.assertEqual([2], self.evaluate(gen_math_ops.Add(x=x, y=x))) |
| 40 | |
| 41 | def testRequiresKwargs(self): |
| 42 | with self.assertRaisesRegexp(TypeError, "only takes keyword args"): |