Lines Matching refs:ABC
36 self.checkequal('abc', ('abc',), 'join', 'a')
98 self.assertEqual(string.maketrans('abc', 'xyz'), transtable)
99 self.assertRaises(ValueError, string.maketrans, 'abc', 'xyzq')
102 self.assertEqual(string.capwords('abc def ghi'), 'Abc Def Ghi')
103 self.assertEqual(string.capwords('abc\tdef\nghi'), 'Abc Def Ghi')
104 self.assertEqual(string.capwords('abc\t def \nghi'), 'Abc Def Ghi')
105 self.assertEqual(string.capwords('ABC DEF GHI'), 'Abc Def Ghi')
106 self.assertEqual(string.capwords('ABC-DEF-GHI', '-'), 'Abc-Def-Ghi')
107 self.assertEqual(string.capwords('ABC-def DEF-ghi GHI'), 'Abc-def Def-ghi Ghi')
108 self.assertEqual(string.capwords(' aBc DeF '), 'Abc Def')
109 self.assertEqual(string.capwords('\taBc\tDeF\t'), 'Abc Def')