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

Method test_islower

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

Source from the content-addressed store, hash-verified

697 self.assertTrue('\ud800\udc02' < '\ud84d\udc56')
698
699 def test_islower(self):
700 super().test_islower()
701 self.checkequalnofix(False, '\u1FFc', 'islower')
702 self.assertFalse('\u2167'.islower())
703 self.assertTrue('\u2177'.islower())
704 # non-BMP, uppercase
705 self.assertFalse('\U00010401'.islower())
706 self.assertFalse('\U00010427'.islower())
707 # non-BMP, lowercase
708 self.assertTrue('\U00010429'.islower())
709 self.assertTrue('\U0001044E'.islower())
710 # non-BMP, non-cased
711 self.assertFalse('\U0001F40D'.islower())
712 self.assertFalse('\U0001F46F'.islower())
713
714 def test_isupper(self):
715 super().test_isupper()

Callers

nothing calls this directly

Calls 5

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

Tested by

no test coverage detected