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

Method test_lower

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

Source from the content-addressed store, hash-verified

404 text2, 'find', pattern2)
405
406 def test_lower(self):
407 self.checkequal('hello', 'HeLLo', 'lower')
408 self.checkequal('hello', 'hello', 'lower')
409 self.checkraises(TypeError, 'hello', 'lower', 42)
410
411 def test_upper(self):
412 self.checkequal('HELLO', 'HeLLo', 'upper')

Callers

nothing calls this directly

Calls 2

checkequalMethod · 0.95
checkraisesMethod · 0.95

Tested by

no test coverage detected