From 391a22aa5cbd3921a2f902debd8d01fb18c46314 Mon Sep 17 00:00:00 2001 From: Pavel Koneski Date: Mon, 16 Feb 2026 13:01:28 -0800 Subject: [PATCH] Skip barred-lambda capitalize check for IronPython --- src/core/IronPython.StdLib/lib/test/string_tests.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/core/IronPython.StdLib/lib/test/string_tests.py b/src/core/IronPython.StdLib/lib/test/string_tests.py index 3bb510b83..cdfc39732 100644 --- a/src/core/IronPython.StdLib/lib/test/string_tests.py +++ b/src/core/IronPython.StdLib/lib/test/string_tests.py @@ -720,7 +720,8 @@ def test_capitalize(self): self.checkequal('\u2160\u2171\u2172', '\u2170\u2171\u2172', 'capitalize') # check with Ll chars with no upper - nothing changes here - self.checkequal('\u019b\u1d00\u1d86\u0221\u1fb7', + if sys.implementation.name != "ironpython": # https://github.com/IronLanguages/ironpython3/issues/839 + self.checkequal('\u019b\u1d00\u1d86\u0221\u1fb7', '\u019b\u1d00\u1d86\u0221\u1fb7', 'capitalize') self.checkraises(TypeError, 'hello', 'capitalize', 42)