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

Method test_isalpha

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

Source from the content-addressed store, hash-verified

172
173 @bigmemtest(size=_2G, memuse=2)
174 def test_isalpha(self, size):
175 _ = self.from_latin1
176 SUBSTR = _('zzzzzzz')
177 s = _('a') * size + SUBSTR
178 self.assertTrue(s.isalpha())
179 s += _('.')
180 self.assertFalse(s.isalpha())
181
182 @bigmemtest(size=_2G, memuse=2)
183 def test_isdigit(self, size):

Callers

nothing calls this directly

Calls 4

assertTrueMethod · 0.80
isalphaMethod · 0.80
assertFalseMethod · 0.80
_Function · 0.70

Tested by

no test coverage detected