Home
last modified time | relevance | path

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

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/unittest/
Dcase.py413 msg = self._formatMessage(msg, "%s is not false" % safe_repr(expr))
419 msg = self._formatMessage(msg, "%s is not true" % safe_repr(expr))
422 def _formatMessage(self, msg, standardMsg): member in TestCase
501 msg = self._formatMessage(msg, standardMsg)
516 msg = self._formatMessage(msg, '%s == %s' % (safe_repr(first),
556 msg = self._formatMessage(msg, standardMsg)
587 msg = self._formatMessage(msg, standardMsg)
719 msg = self._formatMessage(msg, standardMsg)
792 self.fail(self._formatMessage(msg, standardMsg))
799 self.fail(self._formatMessage(msg, standardMsg))
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/unittest/test/
Dtest_assertions.py132 self.assertEqual(self.testableFalse._formatMessage(None, "foo"), "foo")
133 self.assertEqual(self.testableFalse._formatMessage("foo", "bar"), "foo")
135 self.assertEqual(self.testableTrue._formatMessage(None, "foo"), "foo")
136 self.assertEqual(self.testableTrue._formatMessage("foo", "bar"), "bar : foo")
139 self.testableTrue._formatMessage(object(), 'foo')
144 self.testableTrue._formatMessage(one, u'\uFFFD')