Searched refs:istitle (Results 1 – 7 of 7) sorted by relevance
37 self.assertFalse(self.marshal(b'').istitle())38 self.assertFalse(self.marshal(b'a').istitle())39 self.assertTrue(self.marshal(b'A').istitle())40 self.assertFalse(self.marshal(b'\n').istitle())41 self.assertTrue(self.marshal(b'A Titlecased Line').istitle())42 self.assertTrue(self.marshal(b'A\nTitlecased Line').istitle())43 self.assertTrue(self.marshal(b'A Titlecased, Line').istitle())44 self.assertFalse(self.marshal(b'Not a capitalized String').istitle())45 self.assertFalse(self.marshal(b'Not\ta Titlecase String').istitle())46 self.assertFalse(self.marshal(b'Not--a Titlecase String').istitle())[all …]
219 self.assertIs("X".istitle(), True)220 self.assertIs("x".istitle(), False)243 self.assertIs(unicode("X", 'ascii').istitle(), True)244 self.assertIs(unicode("x", 'ascii').istitle(), False)
38 u"01"[char.istitle()],49 u"01"[(char + u'abc').istitle()],
236 self.assertTrue(s.istitle())238 self.assertTrue(s.istitle())240 self.assertFalse(s.istitle())
480 s.istitle()488 s.istitle()496 s.istitle()504 s.istitle()512 s.istitle()520 s.istitle()528 s.istitle()536 s.istitle()544 s.istitle()552 s.istitle()
403 s.istitle()413 s.istitle()423 s.istitle()433 s.istitle()443 s.istitle()
98 def istitle(self): return self.data.istitle() member in UserString