def test_should_build_negated_description(self):
     matcher = RaisesMatcher(ValueError)
     self.assertEquals("Expected 'spam' not to raise exception of type ValueError",
         matcher.describe_negated("spam"))
Esempio n. 2
0
 def test_should_build_negated_description(self):
     matcher = RaisesMatcher(ValueError)
     self.assertEquals(
         "Expected 'spam' not to raise exception of type ValueError",
         matcher.describe_negated("spam"))