From dfdf4ec6a401310c6f42c00bef81fdad0196da16 Mon Sep 17 00:00:00 2001 From: hauntsaninja Date: Fri, 4 Aug 2023 01:35:11 -0700 Subject: [PATCH] fix nits --- news/12204.feature.rst | 2 +- tests/unit/test_target_python.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/news/12204.feature.rst b/news/12204.feature.rst index f905480d543..6ffdf5123b1 100644 --- a/news/12204.feature.rst +++ b/news/12204.feature.rst @@ -1 +1 @@ -Improve use of datastructures to speed up candidate selection by 40% +Improve use of datastructures to make candidate selection 1.6x faster diff --git a/tests/unit/test_target_python.py b/tests/unit/test_target_python.py index f14d599f1f1..b659c61fe08 100644 --- a/tests/unit/test_target_python.py +++ b/tests/unit/test_target_python.py @@ -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), ], ) @@ -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 = {