Skip to content

Commit a0256f6

Browse files
oprypincopybara-github
authored andcommitted
Remove srcs_version and python_version attributes, as they already default to "PY3"
PiperOrigin-RevId: 723642139
1 parent d1bd9b3 commit a0256f6

File tree

1 file changed

+0
-14
lines changed
  • pybind11_abseil/tests

1 file changed

+0
-14
lines changed

pybind11_abseil/tests/BUILD

-14
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@ py_test(
2020
name = "cpp_capsule_tools_testing_test",
2121
srcs = ["cpp_capsule_tools_testing_test.py"],
2222
data = [":cpp_capsule_tools_testing.so"],
23-
python_version = "PY3",
24-
srcs_version = "PY3",
2523
deps = [requirement("absl_py")],
2624
)
2725

@@ -57,8 +55,6 @@ py_test(
5755
name = "status_testing_no_cpp_eh_test",
5856
srcs = ["status_testing_no_cpp_eh_test.py"],
5957
data = [":status_testing_no_cpp_eh_pybind.so"],
60-
python_version = "PY3",
61-
srcs_version = "PY3",
6258
deps = [":status_testing_no_cpp_eh_test_lib"],
6359
)
6460

@@ -80,8 +76,6 @@ py_test(
8076
name = "absl_test",
8177
srcs = ["absl_test.py"],
8278
data = [":absl_example.so"],
83-
python_version = "PY3",
84-
srcs_version = "PY3",
8579
deps = [
8680
requirement("absl_py"),
8781
requirement("numpy"),
@@ -92,8 +86,6 @@ py_test(
9286
name = "ok_status_singleton_test",
9387
srcs = ["ok_status_singleton_test.py"],
9488
data = ["//pybind11_abseil:ok_status_singleton.so"],
95-
python_version = "PY3",
96-
srcs_version = "PY3",
9789
deps = [requirement("absl_py")],
9890
)
9991

@@ -112,16 +104,12 @@ py_test(
112104
name = "missing_import_test",
113105
srcs = ["missing_import_test.py"],
114106
data = [":missing_import.so"],
115-
python_version = "PY3",
116-
srcs_version = "PY3",
117107
)
118108

119109
py_test(
120110
name = "status_test",
121111
srcs = ["status_test.py"],
122112
data = ["//pybind11_abseil:status.so"],
123-
python_version = "PY3",
124-
srcs_version = "PY3",
125113
deps = [requirement("absl_py")],
126114
)
127115

@@ -143,7 +131,5 @@ py_test(
143131
":status_example.so",
144132
"//pybind11_abseil:status.so",
145133
],
146-
python_version = "PY3",
147-
srcs_version = "PY3",
148134
deps = [requirement("absl_py")],
149135
)

0 commit comments

Comments
 (0)