aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/python/util/tf_export_test.py
diff options
context:
space:
mode:
Diffstat (limited to 'tensorflow/python/util/tf_export_test.py')
-rw-r--r--tensorflow/python/util/tf_export_test.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tensorflow/python/util/tf_export_test.py b/tensorflow/python/util/tf_export_test.py
index b9e26ecb33..4ae1dc55e0 100644
--- a/tensorflow/python/util/tf_export_test.py
+++ b/tensorflow/python/util/tf_export_test.py
@@ -60,6 +60,8 @@ class ValidateExportTest(test.TestCase):
for symbol in [_test_function, _test_function, TestClassA, TestClassB]:
if hasattr(symbol, '_tf_api_names'):
del symbol._tf_api_names
+ if hasattr(symbol, '_tf_api_names_v1'):
+ del symbol._tf_api_names_v1
def _CreateMockModule(self, name):
mock_module = self.MockModule(name)