From 3d6d9020407f42f6023a22f40f1c41597a60fd05 Mon Sep 17 00:00:00 2001 From: Stan Ulbrych Date: Fri, 4 Dec 2026 20:11:16 +0000 Subject: [PATCH] Fix `test_string.test_lazy_import` testing the wrong module (GH-163163) (cherry picked from commit 47a261dafc5b84bc1e639d017286e51c1a503183) Co-authored-by: Stan Ulbrych --- Lib/test/test_string/test_string.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/test_string/test_string.py b/Lib/test/test_string/test_string.py index 350784a9f00817..ce813508cc79d2 100644 --- a/Lib/test/test_string/test_string.py +++ b/Lib/test/test_string/test_string.py @@ -9,7 +9,7 @@ class LazyImportTest(unittest.TestCase): @cpython_only def test_lazy_import(self): - ensure_lazy_imports("base64", {"re", "collections"}) + ensure_lazy_imports("string", {"re", "collections"}) class ModuleTest(unittest.TestCase):