Searched refs:testrepr (Results 1 – 5 of 5) sorted by relevance
/external/python/cpython2/Lib/ |
D | pydoc.py | 430 testrepr = repr(test) 431 if '\\' in test and '\\' not in replace(testrepr, r'\\', ''): 434 return 'r' + testrepr[0] + self.escape(test) + testrepr[0] 437 self.escape(testrepr)) 1013 testrepr = repr(test) 1014 if '\\' in test and '\\' not in replace(testrepr, r'\\', ''): 1017 return 'r' + testrepr[0] + test + testrepr[0] 1018 return testrepr
|
/external/fonttools/Lib/fontTools/ttLib/tables/ |
D | _m_a_x_p.py | 115 def testrepr(self): member in table__m_a_x_p
|
/external/python/cpython3/Lib/ |
D | pydoc.py | 539 testrepr = repr(test) 540 if '\\' in test and '\\' not in replace(testrepr, r'\\', ''): 543 return 'r' + testrepr[0] + self.escape(test) + testrepr[0] 546 self.escape(testrepr)) 1142 testrepr = repr(test) 1143 if '\\' in test and '\\' not in replace(testrepr, r'\\', ''): 1146 return 'r' + testrepr[0] + test + testrepr[0] 1147 return testrepr
|
/external/python/cpython3/Lib/test/ |
D | test_unicode.py | 117 testrepr = ascii(''.join(map(chr, range(256)))) 118 self.assertEqual(testrepr, latin1repr) 159 testrepr = repr(''.join(map(chr, range(256)))) 160 self.assertEqual(testrepr, latin1repr)
|
/external/python/cpython2/Lib/test/ |
D | test_unicode.py | 112 testrepr = repr(u''.join(map(unichr, xrange(256)))) 113 self.assertEqual(testrepr, latin1repr)
|