diff --git a/tests/support/sh_py_run_test.bzl b/tests/support/sh_py_run_test.bzl index 9bf0a7402e..f5c9311ff5 100644 --- a/tests/support/sh_py_run_test.bzl +++ b/tests/support/sh_py_run_test.bzl @@ -86,8 +86,6 @@ def _py_reconfig_impl(ctx): default_info.default_runfiles, ), ), - # Inherit the expanded environment from the inner target. - ctx.attr.target[RunEnvironmentInfo], ] def _make_reconfig_rule(**kwargs):