Fixed #24036 -- Added ignore_warnings decorator

Same here.