Searched refs:safe_repr (Results 1 – 3 of 3) sorted by relevance
/third_party/python/Lib/unittest/ |
D | case.py | 15 from .util import (strclass, safe_repr, _count_diff_all_purpose, 680 msg = self._formatMessage(msg, "%s is not false" % safe_repr(expr)) 686 msg = self._formatMessage(msg, "%s is not true" % safe_repr(expr)) 708 return '%s : %s' % (safe_repr(standardMsg), safe_repr(msg)) 852 msg = self._formatMessage(msg, '%s == %s' % (safe_repr(first), 853 safe_repr(second))) 882 safe_repr(first), 883 safe_repr(second), 884 safe_repr(delta), 885 safe_repr(diff)) [all …]
|
D | util.py | 25 args = tuple(map(safe_repr, args)) 45 def safe_repr(obj, short=False): function
|
D | mock.py | 35 from unittest.util import safe_repr
|