forked from bazelbuild/bazel
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make testLabelsOperator not depend on Python rule internals.
The testLabelsOperator test was testing a case for implicit attributes by using the "$py_toolchain_type" attribute, which is only present for this test to pass. To fix, the test writes a simple Starlark rule with an implicit attribute that it queries instead of using the Python rules. PiperOrigin-RevId: 505187391 Change-Id: I8ac3f83320392f9f1a92e9f9559f41c7beaeda5a
- Loading branch information
1 parent
17e3fd1
commit d13c964
Showing
1 changed file
with
29 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters