Skip to content

Commit 6d1c1fa

Browse files
committed
use shorter slice notation
1 parent 0f58f25 commit 6d1c1fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/toolchains/multi_platform_resolution/resolution_tests.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ def _compute_runtimes():
102102
selected_versions = sorted(
103103
TOOL_VERSIONS.keys(),
104104
key = lambda v: version.parse(v).key(),
105-
)[-2::1]
105+
)[-2:]
106106

107107
for python_version in selected_versions:
108108
for platform in _PLATFORMS:

0 commit comments

Comments
 (0)