def test_init_default_scoring():
 tpot_obj = TPOTRegressor()
 assert (tpot_obj.scoring_function == 'neg_mean_squared_error')

def test_init_default_scoring ( ) : tpot_obj = TPOTRegressor ( ) assert ( tpot_obj . scoring_function == 'neg_mean_squared_error' )
assert that tpot intitializes with the correct default scoring function .