Home | History | Annotate | Download | only in test

Lines Matching full:xyz

522         self.checkequal('hello', 'xyzzyhelloxyzzy', 'strip', 'xyz')
523 self.checkequal('helloxyzzy', 'xyzzyhelloxyzzy', 'lstrip', 'xyz')
524 self.checkequal('xyzzyhello', 'xyzzyhelloxyzzy', 'rstrip', 'xyz')
525 self.checkequal('hello', 'hello', 'strip', 'xyz')
530 'strip', unicode('xyz', 'ascii'))
532 'lstrip', unicode('xyz', 'ascii'))
534 'rstrip', unicode('xyz', 'ascii'))
537 # 'strip', unicode('xyz', 'ascii'))
1265 ''.join(map(chr, xrange(256))).replace('abc', 'xyz'),
1266 string.maketrans('abc', 'xyz')
1271 table = string.maketrans('abc', 'xyz')
1276 self.checkequal('xyz', 'xyz', 'translate', table)
1277 self.checkequal('yz', 'xyz', 'translate', table, 'x')
1281 self.checkraises(ValueError, 'xyz', 'translate', 'too short', 'strip')
1282 self.checkraises(ValueError, 'xyz', 'translate', 'too short')
1308 self.checkraises(TypeError, 'xyz', 'decode', 42)
1309 self.checkraises(TypeError, 'xyz', 'encode', 42)