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

Method test_islower

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

Source from the content-addressed store, hash-verified

690 self.assertTrue('\ud800\udc02' < '\ud84d\udc56')
691
692 def test_islower(self):
693 super().test_islower()
694 self.checkequalnofix(False, '\u1FFc', 'islower')
695 self.assertFalse('\u2167'.islower())
696 self.assertTrue('\u2177'.islower())
697 # non-BMP, uppercase
698 self.assertFalse('\U00010401'.islower())
699 self.assertFalse('\U00010427'.islower())
700 # non-BMP, lowercase
701 self.assertTrue('\U00010429'.islower())
702 self.assertTrue('\U0001044E'.islower())
703 # non-BMP, non-cased
704 self.assertFalse('\U0001F40D'.islower())
705 self.assertFalse('\U0001F46F'.islower())
706
707 def test_isupper(self):
708 super().test_isupper()

Callers

nothing calls this directly

Calls 5

checkequalnofixMethod · 0.95
superClass · 0.85
assertFalseMethod · 0.80
assertTrueMethod · 0.80
islowerMethod · 0.45

Tested by

no test coverage detected