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"))
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"))