capybara/queries/style_query.py
def failure_message(self):
        """ str: A message describing the query failure. """
        return (
            "Expected node to have styles {expected}. "
            "Actual styles were {actual}").format(
                expected=desc(self.expected_styles),
                actual=desc(self.actual_styles))
def failure_message(self):
        """ str: A message describing the query failure. """
        return (
            "Expected node to have styles {expected}. "
            "Actual styles were {actual}").format(
                expected=desc(self.expected_styles),
                actual=desc(self.actual_styles))
def failure_message ( self ) : return ( "Expected node to have styles {expected}. " "Actual styles were {actual}" ) . format ( expected = desc ( self . expected_styles ) , actual = desc ( self . actual_styles ) )
str: A message describing the query failure.
str : A message describing the query failure .