aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/tools/compatibility
diff options
context:
space:
mode:
authorGravatar Yifei Feng <yifeif@google.com>2018-02-09 16:02:24 -0800
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2018-02-09 16:06:00 -0800
commit940540ae4f6d9333dea693aaeabdd18996ed957b (patch)
treeb66bc2884cebec48eca1b47df9787540b8213210 /tensorflow/tools/compatibility
parent2adb6bbb1b4d31bba7113a4213bf5e7f0e154c78 (diff)
Add pylint check for W0622 redefined-builtin in ci_sanity.sh and fix existing pylint errors.
PiperOrigin-RevId: 185206494
Diffstat (limited to 'tensorflow/tools/compatibility')
-rw-r--r--tensorflow/tools/compatibility/tf_upgrade_test.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tensorflow/tools/compatibility/tf_upgrade_test.py b/tensorflow/tools/compatibility/tf_upgrade_test.py
index a495f9883b..3d02eacba6 100644
--- a/tensorflow/tools/compatibility/tf_upgrade_test.py
+++ b/tensorflow/tools/compatibility/tf_upgrade_test.py
@@ -114,7 +114,7 @@ class TestUpgrade(test_util.TensorFlowTestCase):
self.assertEqual(errors, ["test.py:1: tf.reverse requires manual check."])
def testListComprehension(self):
- def _test(input, output):
+ def _test(input, output): # pylint: disable=redefined-builtin
_, unused_report, errors, new_text = self._upgrade(input)
self.assertEqual(new_text, output)
_test("tf.concat(0, \t[x for x in y])\n",