Lines Matching refs:string
51 string ('') are singletons and cannot be cloned.
197 with self.subTest(string=case):
403 # same length, remove a letter, or replace with a longer string.
1098 # class with __format__ that forwards to string, for some format_spec's
1103 return "string is " + self.x
1247 self.assertEqual('{0!s}'.format(G('data')), 'string is data')
1262 # string format specifiers
1335 # string format spec errors
1336 sign_msg = "Sign not allowed in string format specifier"
1339 space_msg = "Space not allowed in string format specifier"
1501 # formatting jobs delegated from the string implementation:
1605 # formatting jobs delegated from the string implementation:
2025 Test that an 'unexpected end of data' error is raised when the string
2506 # generate a fresh string (refcount=1)
2608 for data in (b'', b'short string'):
2631 for data in ('', 'short string'):