From 17d6713db29f328e19852a3c1b446baeca431a07 Mon Sep 17 00:00:00 2001 From: manoj Date: Thu, 11 Jun 2026 18:11:34 +0530 Subject: [PATCH] Test string with digits and whitespaces for isdigit() --- Lib/test/string_tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/string_tests.py b/Lib/test/string_tests.py index f66051531faaa1..2e8bbb2380caa6 100644 --- a/Lib/test/string_tests.py +++ b/Lib/test/string_tests.py @@ -1127,7 +1127,7 @@ def test_isdigit(self): self.checkequal(True, '0', 'isdigit') self.checkequal(True, '0123456789', 'isdigit') self.checkequal(False, '0123456789a', 'isdigit') - + self.checkequal(False, '123 ', 'isdigit') self.checkraises(TypeError, 'abc', 'isdigit', 42) def test_title(self):