We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 283e7d1 commit 5075337Copy full SHA for 5075337
examples/basic/BUILD.bazel
@@ -1,5 +1,6 @@
1
load("@pybind11_bazel//:build_defs.bzl", "pybind_extension")
2
-load("@rules_python//python:defs.bzl", "py_library", "py_test")
+load("@rules_python//python:py_library.bzl", "py_library")
3
+load("@rules_python//python:py_test.bzl", "py_test")
4
5
pybind_extension(
6
name = "basic",
examples/basic/basic_test.py
@@ -1,4 +1,5 @@
import unittest
+import sys
import basic
@@ -11,4 +12,5 @@ def test_add(self):
11
12
13
14
if __name__ == "__main__":
15
+ print(sys.version)
16
unittest.main()
0 commit comments