Fixed #24036 -- Added ignore_warnings decorator

would anything break if we always used filterwarnings (just to simply this a bit)?