Commit b6b25a77 by Ralf W. Grosse-Kunstleve Committed by Copybara-Service

Split status_test.py into a smaller status_test.py & status_example_test.py

To enable (limited) testing of `@pybind11_abseil:status` without the `@pybind11_abseil/tests:status_example_test` dependency.

PiperOrigin-RevId: 493092289
parent d5915677
......@@ -54,6 +54,14 @@ py_test(
srcs_version = "PY3",
)
py_test(
name = "status_test",
srcs = ["status_test.py"],
data = ["//pybind11_abseil:status.so"],
python_version = "PY3",
srcs_version = "PY3",
)
pybind_extension(
name = "status_example",
srcs = ["status_example.cc"],
......@@ -65,8 +73,8 @@ pybind_extension(
)
py_test(
name = "status_test",
srcs = ["status_test.py"],
name = "status_example_test",
srcs = ["status_example_test.py"],
data = [
":status_example.so",
"//pybind11_abseil:status.so",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment