File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
com.oracle.graal.python.test/src/tests/unittest_tags
com.oracle.graal.python/src/com/oracle/graal/python/builtins/objects/str Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change 15
15
*graalpython.lib-python.3.test.test_unicode.UnicodeTest.test_capitalize
16
16
*graalpython.lib-python.3.test.test_unicode.UnicodeTest.test_capitalize_nonascii
17
17
*graalpython.lib-python.3.test.test_unicode.UnicodeTest.test_case_operation_overflow
18
+ *graalpython.lib-python.3.test.test_unicode.UnicodeTest.test_casefold
18
19
*graalpython.lib-python.3.test.test_unicode.UnicodeTest.test_center
19
20
*graalpython.lib-python.3.test.test_unicode.UnicodeTest.test_codecs
20
21
*graalpython.lib-python.3.test.test_unicode.UnicodeTest.test_codecs_idna
Original file line number Diff line number Diff line change @@ -2269,9 +2269,7 @@ public abstract static class CasefoldNode extends PythonUnaryBuiltinNode {
2269
2269
@ Specialization
2270
2270
@ TruffleBoundary
2271
2271
static String doString (String self ) {
2272
- // TODO(fa) implement properly using 'unicodedata_db' (see 'unicodeobject.c' function
2273
- // 'unicode_casefold_impl')
2274
- return self .toLowerCase ();
2272
+ return UCharacter .foldCase (self , true );
2275
2273
}
2276
2274
2277
2275
@ Specialization (replaces = "doString" )
You can’t perform that action at this time.
0 commit comments