def test_IndexLocator_set_params():
 index = mticker.IndexLocator(base=3, offset=4)
 index.set_params(base=7, offset=7)
 assert (index._base == 7)
 assert (index.offset == 7)

def test_IndexLocator_set_params ( ) : index = mticker . IndexLocator ( base = 3 , offset = 4 ) index . set_params ( base = 7 , offset = 7 ) assert ( index . _base == 7 ) assert ( index . offset == 7 )
create index locator with 3 base .