@@ -38,46 +38,7 @@ public void testCondFalse()
3838 } ) ;
3939 }
4040
41- [ Ignore ( "Todo" ) ]
42- [ TestMethod ]
43- public void testCondMissingArg1 ( )
44- {
45- // def testCondMissingArg1(self):
46- // x = constant_op.constant(1)
47- // with self.assertRaises(TypeError):
48- // control_flow_ops.cond(True, false_fn=lambda: x)
49-
50- }
51-
52- [ Ignore ( "Todo" ) ]
53- [ TestMethod ]
54- public void testCondMissingArg2 ( )
55- {
56- // def testCondMissingArg2(self):
57- // x = constant_op.constant(1)
58- // with self.assertRaises(TypeError):
59- // control_flow_ops.cond(True, lambda: x)
60- }
61-
62- [ Ignore ( "Todo" ) ]
63- [ TestMethod ]
64- public void testCondDuplicateArg1 ( )
65- {
66- // def testCondDuplicateArg1(self):
67- // x = constant_op.constant(1)
68- // with self.assertRaises(TypeError):
69- // control_flow_ops.cond(True, lambda: x, lambda: x, fn1=lambda: x)
70- }
71-
72- [ Ignore ( "Todo" ) ]
73- [ TestMethod ]
74- public void testCondDuplicateArg2 ( )
75- {
76- // def testCondDuplicateArg2(self):
77- // x = constant_op.constant(1)
78- // with self.assertRaises(TypeError):
79- // control_flow_ops.cond(True, lambda: x, lambda: x, fn2=lambda: x)
80- }
41+ // NOTE: all other test python test cases of this class are either not needed due to strong typing or dest a deprecated api
8142
8243 }
8344}
0 commit comments