Skip to content

Commit

Permalink
Remove unused test_ops_2.py
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 554528784
  • Loading branch information
DrMarcII authored and tensorflower-gardener committed Aug 7, 2023
1 parent 0c0582c commit 91000d7
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 51 deletions.
1 change: 0 additions & 1 deletion ci/official/utilities/code_check_full.bats
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,6 @@ _test_lib$
//tensorflow/python:mixed_precision
//tensorflow/python:tf_optimizer
//tensorflow/python:compare_test_proto_py
//tensorflow/python/framework:test_ops_2
//tensorflow/python/framework:test_file_system.so
//tensorflow/python/debug:grpc_tensorflow_server.par
//tensorflow/python/feature_column:vocabulary_testdata
Expand Down
25 changes: 1 addition & 24 deletions tensorflow/python/framework/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -2461,29 +2461,6 @@ tf_kernel_library(
alwayslink = 1,
)

tf_gen_op_wrapper_py(
name = "test_ops_2",
out = "test_ops_2.py",
extra_py_deps = [
"//tensorflow/python:pywrap_tfe",
"//tensorflow/python/util:deprecation",
"//tensorflow/python/util:dispatch",
"//tensorflow/python/util:tf_export",
],
py_lib_rule = py_strict_library,
deps = [
":test_ops_2_kernels",
],
)

cc_library(
name = "test_ops_2_kernels",
srcs = ["test_ops_2.cc"],
linkstatic = 1,
deps = ["//tensorflow/core:framework"],
alwayslink = 1,
)

tf_py_strict_test(
name = "common_shapes_test",
size = "small",
Expand All @@ -2504,7 +2481,7 @@ tf_py_strict_test(
srcs = ["ops_test.py"],
main = "ops_test.py",
python_version = "PY3",
tags = ["no_pip"], # test_ops_2 is not available in pip.
tags = ["no_pip"],
deps = [
":composite_tensor",
":config",
Expand Down
25 changes: 0 additions & 25 deletions tensorflow/python/framework/test_ops_2.cc

This file was deleted.

1 change: 0 additions & 1 deletion tensorflow/tools/pip_package/pip_smoke_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@ def BuildPyTestDependencies():
"//tensorflow/python:extra_py_tests_deps",
"//tensorflow/python:mixed_precision",
"//tensorflow/python:tf_optimizer",
"//tensorflow/python/framework:test_ops_2",
"//tensorflow/python/framework:test_file_system.so",
"//tensorflow/python/debug:grpc_tensorflow_server.par",
"//tensorflow/python/feature_column:vocabulary_testdata",
Expand Down

0 comments on commit 91000d7

Please sign in to comment.