Lines Matching refs:safe_repr
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))
558 standardMsg = '%s != %s within %r places' % (safe_repr(first),
559 safe_repr(second),
580 standardMsg = '%s == %s within %s delta' % (safe_repr(first),
581 safe_repr(second),
582 safe_repr(delta))
588 standardMsg = '%s == %s within %r places' % (safe_repr(first),
589 safe_repr(second),
642 % (seq_type_name, safe_repr(seq1)))
645 % (seq_type_name, safe_repr(seq2)))
667 seq1_repr = safe_repr(seq1)
668 seq2_repr = safe_repr(seq2)
693 (i, safe_repr(item1), safe_repr(item2)))
706 (len2, safe_repr(seq1[len2])))
715 (len1, safe_repr(seq2[len1])))
802 standardMsg = '%s not found in %s' % (safe_repr(member),
803 safe_repr(container))
809 standardMsg = '%s unexpectedly found in %s' % (safe_repr(member),
810 safe_repr(container))
816 standardMsg = '%s is not %s' % (safe_repr(expr1),
817 safe_repr(expr2))
823 standardMsg = 'unexpectedly identical: %s' % (safe_repr(expr1),)
831 standardMsg = '%s != %s' % (safe_repr(d1, True), safe_repr(d2, True))
847 (safe_repr(key), safe_repr(value),
848 safe_repr(actual[key])))
855 standardMsg = 'Missing: %s' % ','.join(safe_repr(m) for m in
921 standardMsg = '%s != %s' % (safe_repr(first, True),
922 safe_repr(second, True))
930 standardMsg = '%s not less than %s' % (safe_repr(a), safe_repr(b))
936 standardMsg = '%s not less than or equal to %s' % (safe_repr(a), safe_repr(b))
942 standardMsg = '%s not greater than %s' % (safe_repr(a), safe_repr(b))
948 standardMsg = '%s not greater than or equal to %s' % (safe_repr(a), safe_repr(b))
954 standardMsg = '%s is not None' % (safe_repr(obj),)
967 standardMsg = '%s is not an instance of %r' % (safe_repr(obj), cls)
973 standardMsg = '%s is an instance of %r' % (safe_repr(obj), cls)