Fixed #24036 -- Added ignore_warnings decorator

It would be good to add a versionchanged directive to mention about removal of mixins.