def test_set_params():
 tpot_obj = TPOTClassifier()
 assert (tpot_obj.set_params() is tpot_obj)

def test_set_params ( ) : tpot_obj = TPOTClassifier ( ) assert ( tpot_obj . set_params ( ) is tpot_obj )
assert that set_params returns a reference to the tpot instance .