Filter warnings in rcparams test.