human
Solve the following python programming problem given the following code:
@ dec.slow 
def test_fit(self) : 
    def check(func, dist, args, alpha) : 
        if (dist in self.skip) : 
            raise SkipTest (('%s fit known to fail' % dist)) 
distfunc = getattr (stats, dist) 
        with np.errstate (all = 'ignore') : 
            res = distfunc.rvs (* args, ** { 
                'size' : 200, 
}) 
            vals = distfunc.fit (res) 
            vals2 = distfunc.fit (res, optimizer = 'powell') 
if (dist == 'frechet') : 
            assert_ ((len (vals) == len (args))) 
            assert_ ((len (vals2) == len (args))) 
else : 
            assert_ ((len (vals) == (2 + len (args)))) 
            assert_ ((len (vals2) == (2 + len (args)))) 
for (func, dist, args, alpha) in test_all_distributions () : 
        (yield (check, func, dist, args, func)) 

    
    

    Fix the buggy line: (yield (check, func, dist, args, func))
assistant
#Here is Python code to fix the buggy line: (yield (check, func, dist, args, func))
.

(yield (check, func, dist, args, alpha))