Searched refs:_formatMessage (Results 1 – 9 of 9) sorted by relevance
/external/python/cpython2/Lib/unittest/ |
D | case.py | 415 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/ |
D | case.py | 480 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/ |
D | case.py | 162 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/ |
D | test_assertions.py | 136 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/ |
D | test_assertions.py | 100 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')
|
D | test_unittest2_with.py | 86 self._formatMessage(one, u'\uFFFD')
|
/external/python/cpython3/Lib/unittest/test/ |
D | test_assertions.py | 168 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/ |
D | test_statistics.py | 258 msg = self._formatMessage(msg, standardMsg) 269 msg = self._formatMessage(msg, standardMsg)
|
/external/llvm-project/lldb/packages/Python/lldbsuite/test/ |
D | lldbtest.py | 2666 self.fail(self._formatMessage(msg,
|