Skip to content

Commit

Permalink
Remove srcs_version and python_version attributes, as they alread…
Browse files Browse the repository at this point in the history
…y default to `"PY3"`

PiperOrigin-RevId: 725134459
  • Loading branch information
oprypin authored and copybara-github committed Feb 10, 2025
1 parent d1bd9b3 commit b6c3c8f
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions pybind11_abseil/tests/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ py_test(
name = "cpp_capsule_tools_testing_test",
srcs = ["cpp_capsule_tools_testing_test.py"],
data = [":cpp_capsule_tools_testing.so"],
python_version = "PY3",
srcs_version = "PY3",
deps = [requirement("absl_py")],
)

Expand Down Expand Up @@ -57,8 +55,6 @@ py_test(
name = "status_testing_no_cpp_eh_test",
srcs = ["status_testing_no_cpp_eh_test.py"],
data = [":status_testing_no_cpp_eh_pybind.so"],
python_version = "PY3",
srcs_version = "PY3",
deps = [":status_testing_no_cpp_eh_test_lib"],
)

Expand All @@ -80,8 +76,6 @@ py_test(
name = "absl_test",
srcs = ["absl_test.py"],
data = [":absl_example.so"],
python_version = "PY3",
srcs_version = "PY3",
deps = [
requirement("absl_py"),
requirement("numpy"),
Expand All @@ -92,8 +86,6 @@ py_test(
name = "ok_status_singleton_test",
srcs = ["ok_status_singleton_test.py"],
data = ["//pybind11_abseil:ok_status_singleton.so"],
python_version = "PY3",
srcs_version = "PY3",
deps = [requirement("absl_py")],
)

Expand All @@ -112,16 +104,12 @@ py_test(
name = "missing_import_test",
srcs = ["missing_import_test.py"],
data = [":missing_import.so"],
python_version = "PY3",
srcs_version = "PY3",
)

py_test(
name = "status_test",
srcs = ["status_test.py"],
data = ["//pybind11_abseil:status.so"],
python_version = "PY3",
srcs_version = "PY3",
deps = [requirement("absl_py")],
)

Expand All @@ -143,7 +131,5 @@ py_test(
":status_example.so",
"//pybind11_abseil:status.so",
],
python_version = "PY3",
srcs_version = "PY3",
deps = [requirement("absl_py")],
)

0 comments on commit b6c3c8f

Please sign in to comment.