deprecated_call dit not revert functions back to original
deprecated_call dit not revert functions back to original

Make sure that the warnings.warn and warnings.warn_explicit are reverted
to there original function after running the function in deprecated_call

vmalloc/dessert,hpk42/pytest,mdboom/pytest,jb098/pytest,oleg-alexandrov/pytest,chiller/pytest,Bachmann1234/pytest,gabrielcnr/pytest,takluyver/pytest,hunse/pytest,bukzor/pytest,rouge8/pytest,userzimmermann/pytest,MichaelAquilina/pytest,oleg-alexandrov/pytest,icemac/pytest,userzimmermann/pytest,codewarrior0/pytest,flub/pytest,mbirtwell/pytest,chiller/pytest,eli-b/pytest,ropez/pytest,codewarrior0/pytest,etataurov/pytest,ionelmc/pytest,alfredodeza/pytest,RonnyPfannschmidt/pytest,jaraco/pytest,rouge8/pytest,ddboline/pytest,JonathonSonesen/pytest,ropez/pytest,ericdill/pytest,The-Compiler/pytest,txomon/pytest,abusalimov/pytest,inirudebwoy/pytest,Bjwebb/pytest,hackebrot/pytest,gabrielcnr/pytest,abusalimov/pytest,hpk42/pytest,omarkohl/pytest,doordash/pytest,Bjwebb/pytest,ghostsquad/pytest,ericdill/pytest,tomviner/pytest,ojake/pytest,vodik/pytest,icemac/pytest,ionelmc/pytest,markshao/pytest,MengJueM/pytest,chillbear/pytest,mbirtwell/pytest,davidszotten/pytest,lukas-bednar/pytest,Haibo-Wang-ORG/pytest,skylarjhdownes/pytest,The-Compiler/pytest,chillbear/pytest,tgoodlet/pytest,Haibo-Wang-ORG/pytest,pelme/pytest,takluyver/pytest,pytest-dev/pytest,untitaker/pytest,wfxiang08/pytest,untitaker/pytest,pelme/pytest,mhils/pytest,lukas-bednar/pytest,tareqalayan/pytest,Bachmann1234/pytest,jb098/pytest,omarkohl/pytest,nicoddemus/pytest,malinoff/pytest,mhils/pytest,ghostsquad/pytest,pfctdayelise/pytest,hunse/pytest,Akasurde/pytest,tomviner/pytest,rmfitzpatrick/pytest,wfxiang08/pytest,JonathonSonesen/pytest,inirudebwoy/pytest,MengJueM/pytest,ojake/pytest,mdboom/pytest,nicoddemus/pytest,doordash/pytest,bukzor/pytest,vodik/pytest