Save and restore sys.displayhook around running tests, so that doctests can run correctly under IPython
Save and restore sys.displayhook around running tests, so that doctests can
run correctly under IPython

BMJHayward/numpy,ssanderson/numpy,hainm/numpy,has2k1/numpy,embray/numpy,matthew-brett/numpy,nguyentu1602/numpy,numpy/numpy-refactor,cjermain/numpy,ewmoore/numpy,kiwifb/numpy,jonathanunderwood/numpy,WarrenWeckesser/numpy,empeeu/numpy,bringingheavendown/numpy,Srisai85/numpy,leifdenby/numpy,jschueller/numpy,jschueller/numpy,bmorris3/numpy,empeeu/numpy,ogrisel/numpy,shoyer/numpy,skymanaditya1/numpy,felipebetancur/numpy,dwillmer/numpy,tacaswell/numpy,rudimeier/numpy,gfyoung/numpy,jorisvandenbossche/numpy,ekalosak/numpy,numpy/numpy-refactor,AustereCuriosity/numpy,behzadnouri/numpy,jankoslavic/numpy,gfyoung/numpy,ChanderG/numpy,ContinuumIO/numpy,rmcgibbo/numpy,GaZ3ll3/numpy,trankmichael/numpy,mwiebe/numpy,grlee77/numpy,Yusa95/numpy,GrimDerp/numpy,tacaswell/numpy,grlee77/numpy,mathdd/numpy,argriffing/numpy,has2k1/numpy,pelson/numpy,grlee77/numpy,jonathanunderwood/numpy,andsor/numpy,maniteja123/numpy,SiccarPoint/numpy,kirillzhuravlev/numpy,naritta/numpy,joferkington/numpy,ViralLeadership/numpy,simongibbons/numpy,NextThought/pypy-numpy,shoyer/numpy,GrimDerp/numpy,NextThought/pypy-numpy,tynn/numpy,MSeifert04/numpy,b-carter/numpy,trankmichael/numpy,pbrod/numpy,MichaelAquilina/numpy,ahaldane/numpy,numpy/numpy,anntzer/numpy,jorisvandenbossche/numpy,skwbc/numpy,Srisai85/numpy,tdsmith/numpy,kirillzhuravlev/numpy,pdebuyl/numpy,ViralLeadership/numpy,KaelChen/numpy,pizzathief/numpy,mathdd/numpy,drasmuss/numpy,pdebuyl/numpy,immerrr/numpy,groutr/numpy,musically-ut/numpy,mingwpy/numpy,numpy/numpy,ahaldane/numpy,ContinuumIO/numpy,dwillmer/numpy,stefanv/numpy,WillieMaddox/numpy,rgommers/numpy,stefanv/numpy,KaelChen/numpy,BabeNovelty/numpy,jankoslavic/numpy,dimasad/numpy,madphysicist/numpy,ChanderG/numpy,dwf/numpy,mingwpy/numpy,stuarteberg/numpy,cowlicks/numpy,mwiebe/numpy,skymanaditya1/numpy,mindw/numpy,mathdd/numpy,sinhrks/numpy,CMartelLML/numpy,SunghanKim/numpy,empeeu/numpy,pelson/numpy,Srisai85/numpy,solarjoe/numpy,pbrod/numpy,ChristopherHogan/numpy,ahaldane/numpy,charris/numpy,sonnyhu/numpy,cjermain/numpy,githubmlai/numpy,Anwesh43/numpy,matthew-brett/numpy,argriffing/numpy,SunghanKim/numpy,ajdawson/numpy,SiccarPoint/numpy,CMartelLML/numpy,ChristopherHogan/numpy,ChanderG/numpy,kiwifb/numpy,matthew-brett/numpy,githubmlai/numpy,grlee77/numpy,joferkington/numpy,WarrenWeckesser/numpy,seberg/numpy,Anwesh43/numpy,numpy/numpy-refactor,dwillmer/numpy,njase/numpy,pyparallel/numpy,pizzathief/numpy,Srisai85/numpy,madphysicist/numpy,Anwesh43/numpy,mortada/numpy,Yusa95/numpy,mhvk/numpy,simongibbons/numpy,nguyentu1602/numpy,GaZ3ll3/numpy,BMJHayward/numpy,utke1/numpy,rmcgibbo/numpy,felipebetancur/numpy,abalkin/numpy,NextThought/pypy-numpy,rgommers/numpy,Eric89GXL/numpy,mattip/numpy,ewmoore/numpy,endolith/numpy,dwf/numpy,jankoslavic/numpy,musically-ut/numpy,sigma-random/numpy,solarjoe/numpy,dwf/numpy,moreati/numpy,gmcastil/numpy,leifdenby/numpy,matthew-brett/numpy,astrofrog/numpy,mindw/numpy,dimasad/numpy,MSeifert04/numpy,rajathkumarmp/numpy,endolith/numpy,b-carter/numpy,stuarteberg/numpy,madphysicist/numpy,pizzathief/numpy,solarjoe/numpy,skwbc/numpy,hainm/numpy,ewmoore/numpy,Dapid/numpy,BabeNovelty/numpy,BMJHayward/numpy,CMartelLML/numpy,AustereCuriosity/numpy,seberg/numpy,MichaelAquilina/numpy,dimasad/numpy,stuarteberg/numpy,leifdenby/numpy,SiccarPoint/numpy,joferkington/numpy,njase/numpy,nbeaver/numpy,tacaswell/numpy,naritta/numpy,MaPePeR/numpy,ChanderG/numpy,jakirkham/numpy,ViralLeadership/numpy,ChristopherHogan/numpy,bertrand-l/numpy,jakirkham/numpy,jorisvandenbossche/numpy,sonnyhu/numpy,seberg/numpy,hainm/numpy,ddasilva/numpy,WarrenWeckesser/numpy,mhvk/numpy,SiccarPoint/numpy,mattip/numpy,yiakwy/numpy,kirillzhuravlev/numpy,rgommers/numpy,jschueller/numpy,chatcannon/numpy,mingwpy/numpy,madphysicist/numpy,stefanv/numpy,cowlicks/numpy,pdebuyl/numpy,dch312/numpy,pelson/numpy,Yusa95/numpy,brandon-rhodes/numpy,NextThought/pypy-numpy,pyparallel/numpy,bmorris3/numpy,BabeNovelty/numpy,dch312/numpy,rhythmsosad/numpy,ewmoore/numpy,grlee77/numpy,larsmans/numpy,jschueller/numpy,skymanaditya1/numpy,KaelChen/numpy,matthew-brett/numpy,stuarteberg/numpy,bertrand-l/numpy,GaZ3ll3/numpy,nbeaver/numpy,pbrod/numpy,dch312/numpy,endolith/numpy,chiffa/numpy,chiffa/numpy,dato-code/numpy,pizzathief/numpy,GaZ3ll3/numpy,GrimDerp/numpy,stefanv/numpy,sonnyhu/numpy,ewmoore/numpy,bringingheavendown/numpy,mwiebe/numpy,groutr/numpy,jakirkham/numpy,sigma-random/numpy,WarrenWeckesser/numpy,mattip/numpy,brandon-rhodes/numpy,has2k1/numpy,rhythmsosad/numpy,rhythmsosad/numpy,njase/numpy,dwf/numpy,Eric89GXL/numpy,mhvk/numpy,rherault-insa/numpy,jankoslavic/numpy,shoyer/numpy,jakirkham/numpy,rherault-insa/numpy,tdsmith/numpy,rudimeier/numpy,has2k1/numpy,ajdawson/numpy,KaelChen/numpy,andsor/numpy,brandon-rhodes/numpy,jorisvandenbossche/numpy,ssanderson/numpy,stefanv/numpy,dch312/numpy,sigma-random/numpy,groutr/numpy,BabeNovelty/numpy,charris/numpy,sonnyhu/numpy,nguyentu1602/numpy,rajathkumarmp/numpy,sinhrks/numpy,skwbc/numpy,argriffing/numpy,ESSS/numpy,MSeifert04/numpy,SunghanKim/numpy,MichaelAquilina/numpy,mhvk/numpy,ddasilva/numpy,utke1/numpy,rmcgibbo/numpy,ogrisel/numpy,charris/numpy,naritta/numpy,madphysicist/numpy,MaPePeR/numpy,mingwpy/numpy,CMartelLML/numpy,shoyer/numpy,mortada/numpy,trankmichael/numpy,githubmlai/numpy,tynn/numpy,astrofrog/numpy,maniteja123/numpy,rmcgibbo/numpy,GrimDerp/numpy,skymanaditya1/numpy,ekalosak/numpy,ogrisel/numpy,Linkid/numpy,sinhrks/numpy,kirillzhuravlev/numpy,kiwifb/numpy,dimasad/numpy,numpy/numpy,joferkington/numpy,mindw/numpy,mortada/numpy,jakirkham/numpy,astrofrog/numpy,hainm/numpy,numpy/numpy-refactor,cjermain/numpy,WillieMaddox/numpy,behzadnouri/numpy,gmcastil/numpy,sigma-random/numpy,tdsmith/numpy,embray/numpy,simongibbons/numpy,AustereCuriosity/numpy,mathdd/numpy,ajdawson/numpy,musically-ut/numpy,Linkid/numpy,dwf/numpy,pizzathief/numpy,yiakwy/numpy,utke1/numpy,ogrisel/numpy,mortada/numpy,brandon-rhodes/numpy,gmcastil/numpy,pdebuyl/numpy,dato-code/numpy,pyparallel/numpy,mindw/numpy,dato-code/numpy,chatcannon/numpy,dwillmer/numpy,cowlicks/numpy,cowlicks/numpy,BMJHayward/numpy,rudimeier/numpy,nguyentu1602/numpy,immerrr/numpy,tynn/numpy,rhythmsosad/numpy,andsor/numpy,pbrod/numpy,MaPePeR/numpy,moreati/numpy,ddasilva/numpy,astrofrog/numpy,Linkid/numpy,dato-code/numpy,MaPePeR/numpy,Anwesh43/numpy,rajathkumarmp/numpy,anntzer/numpy,andsor/numpy,Dapid/numpy,jorisvandenbossche/numpy,ogrisel/numpy,larsmans/numpy,Linkid/numpy,maniteja123/numpy,Eric89GXL/numpy,yiakwy/numpy,naritta/numpy,githubmlai/numpy,ekalosak/numpy,astrofrog/numpy,ESSS/numpy,Eric89GXL/numpy,Yusa95/numpy,simongibbons/numpy,b-carter/numpy,rgommers/numpy,endolith/numpy,SunghanKim/numpy,rajathkumarmp/numpy,musically-ut/numpy,chatcannon/numpy,immerrr/numpy,pbrod/numpy,bertrand-l/numpy,abalkin/numpy,drasmuss/numpy,moreati/numpy,MSeifert04/numpy,bmorris3/numpy,seberg/numpy,abalkin/numpy,nbeaver/numpy,ahaldane/numpy,tdsmith/numpy,empeeu/numpy,charris/numpy,simongibbons/numpy,chiffa/numpy,larsmans/numpy,MSeifert04/numpy,pelson/numpy,sinhrks/numpy,WarrenWeckesser/numpy,numpy/numpy-refactor,ContinuumIO/numpy,ChristopherHogan/numpy,embray/numpy,bringingheavendown/numpy,ahaldane/numpy,drasmuss/numpy,embray/numpy,pelson/numpy,MichaelAquilina/numpy,ESSS/numpy,felipebetancur/numpy,anntzer/numpy,numpy/numpy,Dapid/numpy,rudimeier/numpy,anntzer/numpy,ekalosak/numpy,felipebetancur/numpy,gfyoung/numpy,yiakwy/numpy,behzadnouri/numpy,mattip/numpy,ajdawson/numpy,bmorris3/numpy,larsmans/numpy,embray/numpy,mhvk/numpy,shoyer/numpy,trankmichael/numpy,ssanderson/numpy,rherault-insa/numpy,WillieMaddox/numpy,cjermain/numpy,immerrr/numpy,jonathanunderwood/numpy