Commit 64ff5366 by Richard Levasseur Committed by Copybara-Service

Internal change

PiperOrigin-RevId: 369293725
parent 6fa281d7
# Tests and examples for pybind11_abseil. # Tests and examples for pybind11_abseil.
# load("//devtools/python/blaze:python3.bzl", "py2and3_strict_test") # load("//devtools/python/blaze:strict.bzl", "py_strict_test")
load("@pybind11_bazel//:build_defs.bzl", "pybind_extension") load("@pybind11_bazel//:build_defs.bzl", "pybind_extension")
licenses(["notice"]) licenses(["notice"])
...@@ -23,7 +23,8 @@ py_test( ...@@ -23,7 +23,8 @@ py_test(
name = "absl_test", name = "absl_test",
srcs = ["absl_test.py"], srcs = ["absl_test.py"],
data = [":absl_example.so"], data = [":absl_example.so"],
srcs_version = "PY2AND3", python_version = "PY3",
srcs_version = "PY3",
) )
pybind_extension( pybind_extension(
...@@ -41,7 +42,8 @@ py_test( ...@@ -41,7 +42,8 @@ py_test(
name = "missing_import_test", name = "missing_import_test",
srcs = ["missing_import_test.py"], srcs = ["missing_import_test.py"],
data = [":missing_import.so"], data = [":missing_import.so"],
srcs_version = "PY2AND3", python_version = "PY3",
srcs_version = "PY3",
) )
pybind_extension( pybind_extension(
...@@ -61,5 +63,6 @@ py_test( ...@@ -61,5 +63,6 @@ py_test(
":status_example.so", ":status_example.so",
"//pybind11_abseil:status.so", "//pybind11_abseil:status.so",
], ],
srcs_version = "PY2AND3", python_version = "PY3",
srcs_version = "PY3",
) )
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