Lines Matching refs:expectedsize
89 def basic_encode_test(self, size, enc, c=u'.', expectedsize=None):90 if expectedsize is None:91 expectedsize = size94 self.assertEqual(len(s.encode(enc)), expectedsize)117 return self.basic_encode_test(size, 'utf32', expectedsize=4*size+4)