Skip to content

Commit

Permalink
fix nits
Browse files Browse the repository at this point in the history
  • Loading branch information
hauntsaninja committed Aug 4, 2023
1 parent 18926cb commit dfdf4ec
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion news/12204.feature.rst
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Improve use of datastructures to speed up candidate selection by 40%
Improve use of datastructures to make candidate selection 1.6x faster
4 changes: 2 additions & 2 deletions tests/unit/test_target_python.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def test_format_given(self, kwargs: Dict[str, Any], expected: str) -> None:
((3, 7, 3), "37"),
# Check a minor version with two digits.
((3, 10, 1), "310"),
# Check that versions=None is passed to get_tags().
# Check that versions=None is passed to get_sorted_tags().
(None, None),
],
)
Expand All @@ -113,7 +113,7 @@ def test_get_sorted_tags(

def test_get_unsorted_tags__uses_cached_value(self) -> None:
"""
Test that get_tags() uses the cached value.
Test that get_unsorted_tags() uses the cached value.
"""
target_python = TargetPython(py_version_info=None)
target_python._valid_tags_set = {
Expand Down

0 comments on commit dfdf4ec

Please sign in to comment.