Exemplo n.º 1
0
 def test_default_description_is_mismatch(self):
     mismatch = Equals(3).match(2)
     e = MismatchError(2, Equals(3), mismatch)
     self.assertEqual(mismatch.describe(), str(e))
Exemplo n.º 2
0
 def test_default_description_is_mismatch(self):
     mismatch = Equals(3).match(2)
     e = MismatchError(2, Equals(3), mismatch)
     self.assertEqual(mismatch.describe(), str(e))