Home
last modified time | relevance | path

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

/third_party/python/Lib/unittest/
Dcase.py162 msg = self.test_case._formatMessage(self.msg, standardMsg)
680 msg = self._formatMessage(msg, "%s is not false" % safe_repr(expr))
686 msg = self._formatMessage(msg, "%s is not true" % safe_repr(expr))
689 def _formatMessage(self, msg, standardMsg): member in TestCase
837 msg = self._formatMessage(msg, standardMsg)
852 msg = self._formatMessage(msg, '%s == %s' % (safe_repr(first),
898 msg = self._formatMessage(msg, standardMsg)
933 msg = self._formatMessage(msg, standardMsg)
1032 msg = self._formatMessage(msg, standardMsg)
1105 self.fail(self._formatMessage(msg, standardMsg))
[all …]
/third_party/python/Lib/unittest/test/
Dtest_assertions.py171 self.assertEqual(self.testableFalse._formatMessage(None, "foo"), "foo")
172 self.assertEqual(self.testableFalse._formatMessage("foo", "bar"), "foo")
174 self.assertEqual(self.testableTrue._formatMessage(None, "foo"), "foo")
175 self.assertEqual(self.testableTrue._formatMessage("foo", "bar"), "bar : foo")
178 self.testableTrue._formatMessage(object(), 'foo')
183 self.testableTrue._formatMessage(one, '\uFFFD')
/third_party/python/Lib/test/
Dtest_statistics.py260 msg = self._formatMessage(msg, standardMsg)
271 msg = self._formatMessage(msg, standardMsg)