Home
last modified time | relevance | path

Searched refs:_formatMessage (Results 1 – 9 of 9) sorted by relevance

/external/python/cpython2/Lib/unittest/
Dcase.py415 msg = self._formatMessage(msg, "%s is not false" % safe_repr(expr))
421 msg = self._formatMessage(msg, "%s is not true" % safe_repr(expr))
424 def _formatMessage(self, msg, standardMsg): member in TestCase
505 msg = self._formatMessage(msg, standardMsg)
520 msg = self._formatMessage(msg, '%s == %s' % (safe_repr(first),
561 msg = self._formatMessage(msg, standardMsg)
592 msg = self._formatMessage(msg, standardMsg)
724 msg = self._formatMessage(msg, standardMsg)
797 self.fail(self._formatMessage(msg, standardMsg))
804 self.fail(self._formatMessage(msg, standardMsg))
[all …]
/external/llvm-project/lldb/third_party/Python/module/unittest2/unittest2/
Dcase.py480 msg = self._formatMessage(msg, "%s is not False" % safe_repr(expr))
486 msg = self._formatMessage(msg, "%s is not True" % safe_repr(expr))
489 def _formatMessage(self, msg, standardMsg): member in TestCase
572 msg = self._formatMessage(msg, standardMsg)
587 msg = self._formatMessage(msg, '%s == %s' % (safe_repr(first),
632 msg = self._formatMessage(msg, standardMsg)
670 msg = self._formatMessage(msg, standardMsg)
805 msg = self._formatMessage(msg, standardMsg)
880 self.fail(self._formatMessage(msg, standardMsg))
887 self.fail(self._formatMessage(msg, standardMsg))
[all …]
/external/python/cpython3/Lib/unittest/
Dcase.py162 msg = self.test_case._formatMessage(self.msg, standardMsg)
675 msg = self._formatMessage(msg, "%s is not false" % safe_repr(expr))
681 msg = self._formatMessage(msg, "%s is not true" % safe_repr(expr))
684 def _formatMessage(self, msg, standardMsg): member in TestCase
823 msg = self._formatMessage(msg, standardMsg)
838 msg = self._formatMessage(msg, '%s == %s' % (safe_repr(first),
884 msg = self._formatMessage(msg, standardMsg)
919 msg = self._formatMessage(msg, standardMsg)
1018 msg = self._formatMessage(msg, standardMsg)
1091 self.fail(self._formatMessage(msg, standardMsg))
[all …]
/external/python/cpython2/Lib/unittest/test/
Dtest_assertions.py136 self.assertEqual(self.testableFalse._formatMessage(None, "foo"), "foo")
137 self.assertEqual(self.testableFalse._formatMessage("foo", "bar"), "foo")
139 self.assertEqual(self.testableTrue._formatMessage(None, "foo"), "foo")
140 self.assertEqual(self.testableTrue._formatMessage("foo", "bar"), "bar : foo")
143 self.testableTrue._formatMessage(object(), 'foo')
148 self.testableTrue._formatMessage(one, u'\uFFFD')
/external/llvm-project/lldb/third_party/Python/module/unittest2/unittest2/test/
Dtest_assertions.py100 self.testableFalse._formatMessage(
103 self.testableFalse._formatMessage(
106 self.assertEquals(self.testableTrue._formatMessage(None, "foo"), "foo")
108 self.testableTrue._formatMessage(
112 self.testableTrue._formatMessage(object(), 'foo')
Dtest_unittest2_with.py86 self._formatMessage(one, u'\uFFFD')
/external/python/cpython3/Lib/unittest/test/
Dtest_assertions.py168 self.assertEqual(self.testableFalse._formatMessage(None, "foo"), "foo")
169 self.assertEqual(self.testableFalse._formatMessage("foo", "bar"), "foo")
171 self.assertEqual(self.testableTrue._formatMessage(None, "foo"), "foo")
172 self.assertEqual(self.testableTrue._formatMessage("foo", "bar"), "bar : foo")
175 self.testableTrue._formatMessage(object(), 'foo')
180 self.testableTrue._formatMessage(one, '\uFFFD')
/external/python/cpython3/Lib/test/
Dtest_statistics.py258 msg = self._formatMessage(msg, standardMsg)
269 msg = self._formatMessage(msg, standardMsg)
/external/llvm-project/lldb/packages/Python/lldbsuite/test/
Dlldbtest.py2666 self.fail(self._formatMessage(msg,