Skip to content

Commit

Permalink
fixup: make alias private to test module, fix whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
rickeylev committed Feb 10, 2024
1 parent b9df2de commit 8cb6c73
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/base_rules/py_executable_base_tests.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ load("//tests/base_rules:base_tests.bzl", "create_base_tests")
load("//tests/base_rules:util.bzl", "WINDOWS_ATTR", pt_util = "util")
load("//tests/support:test_platforms.bzl", "WINDOWS")

BuiltinPyRuntimeInfo = PyRuntimeInfo
_BuiltinPyRuntimeInfo = PyRuntimeInfo

_tests = []

Expand Down Expand Up @@ -296,9 +296,10 @@ def _test_py_runtime_info_provided_impl(env, target):

# For compatibility during the transition, the builtin PyRuntimeInfo should
# also be provided.
env.expect.that_target(target).has_provider(BuiltinPyRuntimeInfo)
env.expect.that_target(target).has_provider(_BuiltinPyRuntimeInfo)

_tests.append(_test_py_runtime_info_provided)

# Can't test this -- mandatory validation happens before analysis test
# can intercept it
# TODO(#1069): Once re-implemented in Starlark, modify rule logic to make this
Expand Down

0 comments on commit 8cb6c73

Please sign in to comment.