MCPcopy Index your code
hub / github.com/RustPython/RustPython / test_islower

Method test_islower

Lib/test/test_bigmem.py:191–199  ·  view source on GitHub ↗
(self, size)

Source from the content-addressed store, hash-verified

189
190 @bigmemtest(size=_2G, memuse=2)
191 def test_islower(self, size):
192 _ = self.from_latin1
193 chars = _(''.join(
194 chr(c) for c in range(255) if not chr(c).isupper()))
195 repeats = size // len(chars) + 2
196 s = chars * repeats
197 self.assertTrue(s.islower())
198 s += _('A')
199 self.assertFalse(s.islower())
200
201 @bigmemtest(size=_2G, memuse=2)
202 def test_isspace(self, size):

Callers

nothing calls this directly

Calls 8

chrFunction · 0.85
lenFunction · 0.85
assertTrueMethod · 0.80
assertFalseMethod · 0.80
_Function · 0.70
joinMethod · 0.45
isupperMethod · 0.45
islowerMethod · 0.45

Tested by

no test coverage detected