1# ============================================================================= 2# Copyright 2018 The TensorFlow Authors. All Rights Reserved. 3# 4# Licensed under the Apache License, Version 2.0 (the "License"); 5# you may not use this file except in compliance with the License. 6# You may obtain a copy of the License at 7# 8# http://www.apache.org/licenses/LICENSE-2.0 9# 10# Unless required by applicable law or agreed to in writing, software 11# distributed under the License is distributed on an "AS IS" BASIS, 12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13# See the License for the specific language governing permissions and 14# limitations under the License. 15# ============================================================================= 16"""Tests for decode_proto op.""" 17 18# Python3 preparedness imports. 19from __future__ import absolute_import 20from __future__ import division 21from __future__ import print_function 22 23from tensorflow.python.kernel_tests.proto import decode_proto_op_test_base as test_base 24from tensorflow.python.ops import proto_ops as proto_ops 25from tensorflow.python.platform import test 26 27 28class DecodeProtoOpTest(test_base.DecodeProtoOpTestBase): 29 30 def __init__(self, methodName='runTest'): # pylint: disable=invalid-name 31 super(DecodeProtoOpTest, self).__init__(proto_ops, methodName) 32 33 34if __name__ == '__main__': 35 test.main() 36