Searched refs:safe_repr (Results 1 – 8 of 8) sorted by relevance
/external/python/cpython2/Lib/unittest/ |
D | case.py | 14 strclass, safe_repr, unorderable_list_difference, 415 msg = self._formatMessage(msg, "%s is not false" % safe_repr(expr)) 421 msg = self._formatMessage(msg, "%s is not true" % safe_repr(expr)) 443 return '%s : %s' % (safe_repr(standardMsg), safe_repr(msg)) 504 standardMsg = '%s != %s' % (safe_repr(first), safe_repr(second)) 520 msg = self._formatMessage(msg, '%s == %s' % (safe_repr(first), 521 safe_repr(second))) 548 standardMsg = '%s != %s within %s delta' % (safe_repr(first), 549 safe_repr(second), 550 safe_repr(delta)) [all …]
|
D | util.py | 8 def safe_repr(obj, short=False): function
|
/external/llvm-project/lldb/third_party/Python/module/unittest2/unittest2/ |
D | case.py | 14 safe_repr, safe_str, strclass, 480 msg = self._formatMessage(msg, "%s is not False" % safe_repr(expr)) 486 msg = self._formatMessage(msg, "%s is not True" % safe_repr(expr)) 571 standardMsg = '%s != %s' % (safe_repr(first), safe_repr(second)) 587 msg = self._formatMessage(msg, '%s == %s' % (safe_repr(first), 588 safe_repr(second))) 619 standardMsg = '%s != %s within %s delta' % (safe_repr(first), 620 safe_repr(second), 621 safe_repr(delta)) 629 standardMsg = '%s != %s within %r places' % (safe_repr(first), [all …]
|
D | util.py | 9 def safe_repr(obj, short=False): function
|
/external/python/cpython3/Lib/unittest/ |
D | case.py | 15 from .util import (strclass, safe_repr, _count_diff_all_purpose, 675 msg = self._formatMessage(msg, "%s is not false" % safe_repr(expr)) 681 msg = self._formatMessage(msg, "%s is not true" % safe_repr(expr)) 703 return '%s : %s' % (safe_repr(standardMsg), safe_repr(msg)) 838 msg = self._formatMessage(msg, '%s == %s' % (safe_repr(first), 839 safe_repr(second))) 868 safe_repr(first), 869 safe_repr(second), 870 safe_repr(delta), 871 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
|
/external/python/mock/mock/ |
D | mock.py | 67 from unittest.util import safe_repr 1048 return "\n"+prefix+": "+safe_repr(self.mock_calls)+"."
|