Home
last modified time | relevance | path

Searched refs:testrepr (Results 1 – 5 of 5) sorted by relevance

/external/python/cpython2/Lib/
Dpydoc.py430 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.py115 def testrepr(self): member in table__m_a_x_p
/external/python/cpython3/Lib/
Dpydoc.py539 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/
Dtest_unicode.py117 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/
Dtest_unicode.py112 testrepr = repr(u''.join(map(unichr, xrange(256))))
113 self.assertEqual(testrepr, latin1repr)