def test_get_by_name():
 assert (Operator.get_by_name('SelectKBest').__class__ == TPOTSelectKBest)

def test_get_by_name ( ) : assert ( Operator . get_by_name ( 'SelectKBest' ) . __class__ == TPOTSelectKBest )
assert that the operator class returns operators by name appropriately .