MCPcopy Index your code
hub / github.com/python/cpython / test_issue18183

Method test_issue18183

Lib/test/test_str.py:1069–1078  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1067 self.assertIn(delim * 2, fill + delim * 2)
1068
1069 def test_issue18183(self):
1070 '\U00010000\U00100000'.lower()
1071 '\U00010000\U00100000'.casefold()
1072 '\U00010000\U00100000'.upper()
1073 '\U00010000\U00100000'.capitalize()
1074 '\U00010000\U00100000'.title()
1075 '\U00010000\U00100000'.swapcase()
1076 '\U00100000'.center(3, '\U00010000')
1077 '\U00100000'.ljust(3, '\U00010000')
1078 '\U00100000'.rjust(3, '\U00010000')
1079
1080 def test_format(self):
1081 self.assertEqual(''.format(), '')

Callers

nothing calls this directly

Calls 9

casefoldMethod · 0.80
lowerMethod · 0.45
upperMethod · 0.45
capitalizeMethod · 0.45
titleMethod · 0.45
swapcaseMethod · 0.45
centerMethod · 0.45
ljustMethod · 0.45
rjustMethod · 0.45

Tested by

no test coverage detected