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

Method test_lower

Lib/test/string_tests.py:451–454  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

449 text2, 'find', pattern2)
450
451 def test_lower(self):
452 self.checkequal('hello', 'HeLLo', 'lower')
453 self.checkequal('hello', 'hello', 'lower')
454 self.checkraises(TypeError, 'hello', 'lower', 42)
455
456 def test_upper(self):
457 self.checkequal('HELLO', 'HeLLo', 'upper')

Callers

nothing calls this directly

Calls 2

checkequalMethod · 0.95
checkraisesMethod · 0.95

Tested by

no test coverage detected