def test_init_max_time_mins():
 tpot_obj = TPOTClassifier(max_time_mins=30, generations=1000)
 assert (tpot_obj.generations == 1000000)
 assert (tpot_obj.max_time_mins == 30)

def test_init_max_time_mins ( ) : tpot_obj = TPOTClassifier ( max_time_mins = 30 , generations = 1000 ) assert ( tpot_obj . generations == 1000000 ) assert ( tpot_obj . max_time_mins == 30 )
assert that the tpot init stores max run time and sets generations to 1000000 .