Lines Matching full:istitle
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())
47 self.assertFalse(self.marshal(b'NOT').istitle())
48 self.assertRaises(TypeError, self.marshal(b'abc').istitle, 42)