From 4f2d979e1c833f96d9b9ae7bfa3d5d2e6d81b61a Mon Sep 17 00:00:00 2001 From: Frank Chen Date: Mon, 8 Jun 2020 17:16:38 -0700 Subject: [PATCH] Routine dead code clean-up. PiperOrigin-RevId: 315385914 Change-Id: I5c3be3a2b221d65197a375dbee99731ddc130438 --- .../saved_model/integration_tests/integration_scripts.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/tensorflow/examples/saved_model/integration_tests/integration_scripts.py b/tensorflow/examples/saved_model/integration_tests/integration_scripts.py index b4e37fba5bc..6f1ccfa2f05 100644 --- a/tensorflow/examples/saved_model/integration_tests/integration_scripts.py +++ b/tensorflow/examples/saved_model/integration_tests/integration_scripts.py @@ -34,7 +34,6 @@ import subprocess import sys from absl import app -from absl import flags as absl_flags import tensorflow.compat.v2 as tf from tensorflow.python.platform import tf_logging as logging @@ -54,14 +53,6 @@ class TestCase(tf.test.TestCase): for flag_key, flag_value in flags.items(): command_parts.append("--%s=%s" % (flag_key, flag_value)) - # TODO(b/143247229): Remove forwarding this flag once the BUILD rule - # `distribute_py_test()` stops setting it. - deepsea_flag_name = "register_deepsea_platform" - deepsea_flag_value = getattr(absl_flags.FLAGS, deepsea_flag_name, None) - if deepsea_flag_value is not None: - command_parts.append("--%s=%s" % (deepsea_flag_name, - str(deepsea_flag_value).lower())) - env = dict(TF2_BEHAVIOR="enabled", SCRIPT_NAME=script_name) logging.info("Running %s with added environment variables %s" % (command_parts, env))