Skip to content

Commit c9de3a9

Browse files
committed
The pytest_test does not need a toolchain
1 parent 9591dd3 commit c9de3a9

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

py/private/pytest.bzl

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
load("@rules_python//python:defs.bzl", "PyInfo", "PyRuntimeInfo", "py_test")
1+
load("@rules_python//python:defs.bzl", "PyInfo", "py_test")
22

33
def _stringify(paths):
44
return "[%s]" % (", ".join(["\"%s\"" % path for path in paths]))
@@ -46,9 +46,6 @@ _pytest_runner = rule(
4646
default = "PY3",
4747
),
4848
},
49-
toolchains = [
50-
"@rules_python//python:toolchain_type",
51-
]
5249
)
5350

5451
def pytest_test(name, srcs, deps = None, args = None, python_version = None, **kwargs):

0 commit comments

Comments
 (0)