Commit ee43cfe0 authored by Yong Tang's avatar Yong Tang
Browse files

Fix deprecation warning with assertEquals



While running framework_tensor_shape_test with bazel the following
warnings surface:
```
/home/ubuntu/.cache/bazel/_bazel_ubuntu/ad1e09741bb4109fbc70ef8216b59ee2/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/framework_tensor_shape_test.runfiles/org_tensorflow/tensorflow/python/framework/tensor_shape_test.py:203: DeprecationWarning: Please use assertEqual instead.
  self.assertEquals(ctor, tensor_shape.Dimension)
```
This fix fixes the deprecation warnings.

Signed-off-by: default avatarYong Tang <yong.tang.github@outlook.com>
parent 130aebaa
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment