human
Solve the following python programming problem given the following code:
def assert_gather_kwargs(self, ares, collect, args, **kwargs) : 
    def drain() : 
        (yield 1) 
        (yield 2) 
collect.return_value = drain () 
    all = ares.gather (** args) 
    self.assertEqual (list (collect), list (drain ())) 
    collect.assert_called_once_with (ANY, ANY, ANY, ** kwargs) 
    collect.reset_mock () 

    
    

    Fix the buggy line: self.assertEqual (list (collect), list (drain ()))
assistant
#Here is Python code to fix the buggy line: self.

self.assertEqual (list (all), list (drain ()))