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 6166d66 commit e055e28Copy full SHA for e055e28
tests/runfiles/runfiles_test.py
@@ -66,8 +66,9 @@ def testRlocationArgumentValidation(self) -> None:
66
)
67
68
def testRlocationWithData(self) -> None:
69
- rf = runfiles.Create()
70
- settings_path = rf.Rlocation(
+ r = runfiles.Create()
+ assert r is not None # mypy doesn't understand the unittest api.
71
+ settings_path = r.Rlocation(
72
"rules_python/tests/support/current_build_settings.json"
73
74
settings = json.loads(pathlib.Path(settings_path).read_text())
0 commit comments