(self)
| 2884 | class AttrScopeTest(test_util.TensorFlowTestCase): |
| 2885 | |
| 2886 | def _get_test_attrs(self): |
| 2887 | x = control_flow_ops.no_op() |
| 2888 | try: |
| 2889 | a = compat.as_text(x.get_attr("_A")) |
| 2890 | except ValueError: |
| 2891 | a = None |
| 2892 | try: |
| 2893 | b = compat.as_text(x.get_attr("_B")) |
| 2894 | except ValueError: |
| 2895 | b = None |
| 2896 | return (a, b) |
| 2897 | |
| 2898 | @test_util.run_deprecated_v1 |
| 2899 | def testNoLabel(self): |
no test coverage detected