human
Solve the following python programming problem given the following code:
def test_retries_if_predicate_fails(self, sleep_mock) : 
    def always_fail() : 
        return False 
retry = retrying.Retry (max_attempts = 5, wait_exponential = True, raise_error = False, predicate = always_fail) 
    @ retry 
    def func() : 
        pass 
func () 
    self.assertTrue ((retry.attempt >= retry.max_attempts)) 
    self.assertEqual (sleep_mock.call_count, func.max_attempts) 

    
    

    Fix the buggy line: self.assertEqual (sleep_mock.call_count, func.max_attempts)
assistant
#Here is Python program to fix the buggy line: self.

self.assertEqual (sleep_mock.call_count, retry.max_attempts)