Home | History | Annotate | Download | only in python2.7

Lines Matching full:testrepr

397         testrepr = repr(test)
398 if '\\' in test and '\\' not in replace(testrepr, r'\\', ''):
401 return 'r' + testrepr[0] + self.escape(test) + testrepr[0]
404 self.escape(testrepr))
974 testrepr = repr(test)
975 if '\\' in test and '\\' not in replace(testrepr, r'\\', ''):
978 return 'r' + testrepr[0] + test + testrepr[0]
979 return testrepr