From 0def88b5829fab20b2064d09752b230bdd068f13 Mon Sep 17 00:00:00 2001 From: Jie Luo Date: Thu, 8 Dec 2022 10:03:41 -0800 Subject: [PATCH] Internal change only PiperOrigin-RevId: 493925498 --- python/pb_unit_tests/BUILD | 14 +------------- python/pb_unit_tests/pyproto_test_wrapper.bzl | 16 ---------------- 2 files changed, 1 insertion(+), 29 deletions(-) diff --git a/python/pb_unit_tests/BUILD b/python/pb_unit_tests/BUILD index caa1f27e70..bf0a34e733 100644 --- a/python/pb_unit_tests/BUILD +++ b/python/pb_unit_tests/BUILD @@ -23,10 +23,6 @@ # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# begin:google_only -# load(":pyproto_test_wrapper.bzl", "pyproto_net_proto2_test_wrapper") -# -# end:google_only load(":pyproto_test_wrapper.bzl", "pyproto_test_wrapper") # begin:github_only load("@pip_deps//:requirements.bzl", "requirement") @@ -58,7 +54,7 @@ pyproto_test_wrapper( # end:github_only # begin:google_only -# pyproto_net_proto2_test_wrapper(name = "numpy_test") +# pyproto_test_wrapper(name = "numpy_test") # end:google_only pyproto_test_wrapper(name = "proto_builder_test") @@ -73,17 +69,9 @@ pyproto_test_wrapper(name = "message_test") pyproto_test_wrapper(name = "reflection_test") -# begin:google_only -# pyproto_net_proto2_test_wrapper(name = "text_format_test") -# -# pyproto_net_proto2_test_wrapper(name = "unknown_fields_test") -# end:google_only - -# begin:github_only pyproto_test_wrapper(name = "text_format_test") pyproto_test_wrapper(name = "unknown_fields_test") -# end:github_only pyproto_test_wrapper(name = "well_known_types_test") diff --git a/python/pb_unit_tests/pyproto_test_wrapper.bzl b/python/pb_unit_tests/pyproto_test_wrapper.bzl index 3a53e17b26..0118915295 100644 --- a/python/pb_unit_tests/pyproto_test_wrapper.bzl +++ b/python/pb_unit_tests/pyproto_test_wrapper.bzl @@ -41,20 +41,4 @@ def pyproto_test_wrapper(name, deps = []): # }), # ) # -# def pyproto_net_proto2_test_wrapper(name): -# src = name + "_wrapper.py" -# native.py_test( -# name = name, -# srcs = [src], -# main = src, -# deps = [ -# "//net/proto2/python/internal:" + name + "_for_deps", -# "//net/proto2/python/public:use_upb_protos", -# ], -# target_compatible_with = select({ -# "@platforms//os:windows": ["//third_party/bazel_platforms:incompatible"], -# "//conditions:default": [], -# }), -# ) -# # end:google_only