BUG: comparing real/imag parts does not work for assert_array_almost_equal_nulp.
BUG: comparing real/imag parts does not work for assert_array_almost_equal_nulp.

I fixed assert_array_almost_equal_nulp to handle complex type in numpy
1.4.0.1 and in trunk

pnedunuri/scipy,scipy/scipy,andyfaff/scipy,Newman101/scipy,WillieMaddox/scipy,Stefan-Endres/scipy,gef756/scipy,kalvdans/scipy,sonnyhu/scipy,perimosocordiae/scipy,vberaudi/scipy,teoliphant/scipy,jjhelmus/scipy,jor-/scipy,mhogg/scipy,niknow/scipy,maciejkula/scipy,matthewalbani/scipy,Shaswat27/scipy,dch312/scipy,vberaudi/scipy,sargas/scipy,jamestwebber/scipy,person142/scipy,ales-erjavec/scipy,mingwpy/scipy,aarchiba/scipy,ChanderG/scipy,witcxc/scipy,mhogg/scipy,befelix/scipy,pschella/scipy,gfyoung/scipy,dominicelse/scipy,apbard/scipy,pschella/scipy,jseabold/scipy,andyfaff/scipy,nonhermitian/scipy,sauliusl/scipy,zxsted/scipy,ilayn/scipy,niknow/scipy,Srisai85/scipy,e-q/scipy,zaxliu/scipy,vhaasteren/scipy,ales-erjavec/scipy,ndchorley/scipy,lhilt/scipy,zerothi/scipy,pizzathief/scipy,behzadnouri/scipy,futurulus/scipy,zaxliu/scipy,Shaswat27/scipy,nmayorov/scipy,njwilson23/scipy,bkendzior/scipy,fernand/scipy,Srisai85/scipy,nvoron23/scipy,sriki18/scipy,e-q/scipy,piyush0609/scipy,Eric89GXL/scipy,mhogg/scipy,nvoron23/scipy,niknow/scipy,vhaasteren/scipy,maniteja123/scipy,ndchorley/scipy,mikebenfield/scipy,raoulbq/scipy,maciejkula/scipy,gef756/scipy,rmcgibbo/scipy,gef756/scipy,endolith/scipy,gdooper/scipy,gdooper/scipy,maniteja123/scipy,efiring/scipy,person142/scipy,mdhaber/scipy,mortonjt/scipy,larsmans/scipy,jor-/scipy,jonycgn/scipy,befelix/scipy,Dapid/scipy,jonycgn/scipy,vberaudi/scipy,andim/scipy,lhilt/scipy,FRidh/scipy,aarchiba/scipy,pnedunuri/scipy,zaxliu/scipy,felipebetancur/scipy,kalvdans/scipy,haudren/scipy,ortylp/scipy,ortylp/scipy,anielsen001/scipy,grlee77/scipy,mtrbean/scipy,gef756/scipy,endolith/scipy,surhudm/scipy,dominicelse/scipy,sauliusl/scipy,Stefan-Endres/scipy,gdooper/scipy,jsilter/scipy,jamestwebber/scipy,pschella/scipy,vanpact/scipy,nvoron23/scipy,fernand/scipy,nmayorov/scipy,cpaulik/scipy,lukauskas/scipy,josephcslater/scipy,trankmichael/scipy,nvoron23/scipy,petebachant/scipy,giorgiop/scipy,futurulus/scipy,arokem/scipy,giorgiop/scipy,raoulbq/scipy,teoliphant/scipy,zerothi/scipy,kleskjr/scipy,jonycgn/scipy,felipebetancur/scipy,bkendzior/scipy,endolith/scipy,efiring/scipy,Shaswat27/scipy,aeklant/scipy,surhudm/scipy,piyush0609/scipy,sriki18/scipy,Dapid/scipy,ChanderG/scipy,mdhaber/scipy,giorgiop/scipy,vhaasteren/scipy,larsmans/scipy,bkendzior/scipy,mortada/scipy,mortada/scipy,gfyoung/scipy,apbard/scipy,fernand/scipy,vberaudi/scipy,vberaudi/scipy,jakevdp/scipy,sargas/scipy,petebachant/scipy,aeklant/scipy,mortonjt/scipy,Gillu13/scipy,petebachant/scipy,josephcslater/scipy,aman-iitj/scipy,jor-/scipy,lhilt/scipy,sonnyhu/scipy,ChanderG/scipy,anntzer/scipy,person142/scipy,vhaasteren/scipy,raoulbq/scipy,Gillu13/scipy,dch312/scipy,pyramania/scipy,andim/scipy,mortonjt/scipy,vanpact/scipy,sonnyhu/scipy,gfyoung/scipy,argriffing/scipy,vigna/scipy,behzadnouri/scipy,pbrod/scipy,mortonjt/scipy,trankmichael/scipy,haudren/scipy,ales-erjavec/scipy,felipebetancur/scipy,jamestwebber/scipy,sriki18/scipy,ogrisel/scipy,rmcgibbo/scipy,Kamp9/scipy,kleskjr/scipy,giorgiop/scipy,kalvdans/scipy,ortylp/scipy,mtrbean/scipy,witcxc/scipy,jsilter/scipy,ortylp/scipy,hainm/scipy,raoulbq/scipy,Kamp9/scipy,aeklant/scipy,anntzer/scipy,jseabold/scipy,newemailjdm/scipy,ilayn/scipy,josephcslater/scipy,behzadnouri/scipy,ortylp/scipy,argriffing/scipy,aarchiba/scipy,maniteja123/scipy,rmcgibbo/scipy,chatcannon/scipy,niknow/scipy,mhogg/scipy,nonhermitian/scipy,befelix/scipy,gertingold/scipy,person142/scipy,haudren/scipy,perimosocordiae/scipy,sargas/scipy,WarrenWeckesser/scipy,jamestwebber/scipy,hainm/scipy,cpaulik/scipy,mingwpy/scipy,trankmichael/scipy,FRidh/scipy,minhlongdo/scipy,trankmichael/scipy,argriffing/scipy,sonnyhu/scipy,Srisai85/scipy,dch312/scipy,vhaasteren/scipy,tylerjereddy/scipy,mtrbean/scipy,lukauskas/scipy,ogrisel/scipy,kleskjr/scipy,FRidh/scipy,matthew-brett/scipy,jjhelmus/scipy,larsmans/scipy,zerothi/scipy,dominicelse/scipy,mikebenfield/scipy,pbrod/scipy,pbrod/scipy,pizzathief/scipy,lukauskas/scipy,mtrbean/scipy,surhudm/scipy,mgaitan/scipy,sriki18/scipy,pnedunuri/scipy,grlee77/scipy,newemailjdm/scipy,futurulus/scipy,teoliphant/scipy,jjhelmus/scipy,ndchorley/scipy,pnedunuri/scipy,mhogg/scipy,matthew-brett/scipy,juliantaylor/scipy,fredrikw/scipy,sargas/scipy,vanpact/scipy,zxsted/scipy,njwilson23/scipy,larsmans/scipy,richardotis/scipy,nmayorov/scipy,larsmans/scipy,hainm/scipy,mortonjt/scipy,jonycgn/scipy,pnedunuri/scipy,pyramania/scipy,mgaitan/scipy,sonnyhu/scipy,cpaulik/scipy,grlee77/scipy,haudren/scipy,tylerjereddy/scipy,cpaulik/scipy,bkendzior/scipy,zxsted/scipy,gfyoung/scipy,aman-iitj/scipy,Dapid/scipy,raoulbq/scipy,maniteja123/scipy,piyush0609/scipy,tylerjereddy/scipy,gertingold/scipy,kleskjr/scipy,josephcslater/scipy,woodscn/scipy,dch312/scipy,aeklant/scipy,andim/scipy,sauliusl/scipy,mikebenfield/scipy,gertingold/scipy,Gillu13/scipy,richardotis/scipy,pschella/scipy,mortada/scipy,ndchorley/scipy,fernand/scipy,behzadnouri/scipy,anielsen001/scipy,mgaitan/scipy,zxsted/scipy,ogrisel/scipy,chatcannon/scipy,Newman101/scipy,efiring/scipy,aarchiba/scipy,chatcannon/scipy,hainm/scipy,surhudm/scipy,scipy/scipy,jonycgn/scipy,chatcannon/scipy,jsilter/scipy,mikebenfield/scipy,Eric89GXL/scipy,matthew-brett/scipy,kalvdans/scipy,apbard/scipy,vigna/scipy,tylerjereddy/scipy,sonnyhu/scipy,aeklant/scipy,woodscn/scipy,rmcgibbo/scipy,andim/scipy,ales-erjavec/scipy,minhlongdo/scipy,felipebetancur/scipy,gertingold/scipy,sriki18/scipy,ChanderG/scipy,pschella/scipy,anielsen001/scipy,nonhermitian/scipy,juliantaylor/scipy,anntzer/scipy,aman-iitj/scipy,andyfaff/scipy,arokem/scipy,witcxc/scipy,Srisai85/scipy,e-q/scipy,gef756/scipy,witcxc/scipy,ilayn/scipy,befelix/scipy,rmcgibbo/scipy,maniteja123/scipy,ortylp/scipy,bkendzior/scipy,newemailjdm/scipy,efiring/scipy,Newman101/scipy,Kamp9/scipy,grlee77/scipy,zaxliu/scipy,newemailjdm/scipy,kalvdans/scipy,vigna/scipy,endolith/scipy,Newman101/scipy,Stefan-Endres/scipy,juliantaylor/scipy,dominicelse/scipy,sargas/scipy,nvoron23/scipy,WillieMaddox/scipy,vigna/scipy,WarrenWeckesser/scipy,cpaulik/scipy,haudren/scipy,dominicelse/scipy,endolith/scipy,Eric89GXL/scipy,Dapid/scipy,mingwpy/scipy,rgommers/scipy,Srisai85/scipy,anntzer/scipy,fredrikw/scipy,behzadnouri/scipy,gdooper/scipy,trankmichael/scipy,matthewalbani/scipy,piyush0609/scipy,jamestwebber/scipy,mtrbean/scipy,jakevdp/scipy,gdooper/scipy,mhogg/scipy,haudren/scipy,grlee77/scipy,zerothi/scipy,anntzer/scipy,mortada/scipy,witcxc/scipy,efiring/scipy,anielsen001/scipy,WarrenWeckesser/scipy,niknow/scipy,dch312/scipy,njwilson23/scipy,fernand/scipy,pizzathief/scipy,richardotis/scipy,mdhaber/scipy,anielsen001/scipy,niknow/scipy,ChanderG/scipy,mtrbean/scipy,surhudm/scipy,pizzathief/scipy,Stefan-Endres/scipy,pnedunuri/scipy,piyush0609/scipy,mgaitan/scipy,mdhaber/scipy,mortada/scipy,arokem/scipy,WillieMaddox/scipy,argriffing/scipy,ChanderG/scipy,argriffing/scipy,jjhelmus/scipy,perimosocordiae/scipy,behzadnouri/scipy,mgaitan/scipy,pizzathief/scipy,Newman101/scipy,nmayorov/scipy,ales-erjavec/scipy,minhlongdo/scipy,WillieMaddox/scipy,petebachant/scipy,e-q/scipy,larsmans/scipy,Dapid/scipy,juliantaylor/scipy,rgommers/scipy,matthew-brett/scipy,arokem/scipy,zaxliu/scipy,kleskjr/scipy,pyramania/scipy,perimosocordiae/scipy,lhilt/scipy,richardotis/scipy,futurulus/scipy,Gillu13/scipy,scipy/scipy,fredrikw/scipy,mingwpy/scipy,anntzer/scipy,sauliusl/scipy,rgommers/scipy,anielsen001/scipy,jakevdp/scipy,Eric89GXL/scipy,zerothi/scipy,aman-iitj/scipy,ogrisel/scipy,mgaitan/scipy,tylerjereddy/scipy,WillieMaddox/scipy,nonhermitian/scipy,WarrenWeckesser/scipy,andim/scipy,teoliphant/scipy,fredrikw/scipy,woodscn/scipy,e-q/scipy,sriki18/scipy,apbard/scipy,fernand/scipy,felipebetancur/scipy,surhudm/scipy,apbard/scipy,jsilter/scipy,andyfaff/scipy,jseabold/scipy,sauliusl/scipy,cpaulik/scipy,woodscn/scipy,ndchorley/scipy,vanpact/scipy,juliantaylor/scipy,jakevdp/scipy,ogrisel/scipy,ilayn/scipy,Srisai85/scipy,Stefan-Endres/scipy,newemailjdm/scipy,ilayn/scipy,andim/scipy,endolith/scipy,njwilson23/scipy,gertingold/scipy,Stefan-Endres/scipy,futurulus/scipy,newemailjdm/scipy,rmcgibbo/scipy,jor-/scipy,vanpact/scipy,pyramania/scipy,minhlongdo/scipy,fredrikw/scipy,raoulbq/scipy,Gillu13/scipy,vanpact/scipy,pbrod/scipy,rgommers/scipy,minhlongdo/scipy,Eric89GXL/scipy,person142/scipy,lhilt/scipy,jakevdp/scipy,zaxliu/scipy,Dapid/scipy,gef756/scipy,hainm/scipy,josephcslater/scipy,ilayn/scipy,nvoron23/scipy,pbrod/scipy,perimosocordiae/scipy,Kamp9/scipy,mingwpy/scipy,matthewalbani/scipy,minhlongdo/scipy,njwilson23/scipy,zxsted/scipy,aarchiba/scipy,lukauskas/scipy,chatcannon/scipy,gfyoung/scipy,Shaswat27/scipy,perimosocordiae/scipy,giorgiop/scipy,trankmichael/scipy,WarrenWeckesser/scipy,ndchorley/scipy,WillieMaddox/scipy,futurulus/scipy,scipy/scipy,hainm/scipy,ales-erjavec/scipy,jonycgn/scipy,fredrikw/scipy,vberaudi/scipy,mingwpy/scipy,andyfaff/scipy,WarrenWeckesser/scipy,arokem/scipy,petebachant/scipy,vhaasteren/scipy,jseabold/scipy,giorgiop/scipy,matthew-brett/scipy,zerothi/scipy,Newman101/scipy,maniteja123/scipy,Gillu13/scipy,Eric89GXL/scipy,sauliusl/scipy,FRidh/scipy,richardotis/scipy,kleskjr/scipy,matthewalbani/scipy,Kamp9/scipy,maciejkula/scipy,scipy/scipy,andyfaff/scipy,jseabold/scipy,lukauskas/scipy,befelix/scipy,mdhaber/scipy,teoliphant/scipy,pbrod/scipy,maciejkula/scipy,chatcannon/scipy,maciejkula/scipy,lukauskas/scipy,aman-iitj/scipy,pyramania/scipy,petebachant/scipy,mortada/scipy,Shaswat27/scipy,Shaswat27/scipy,argriffing/scipy,Kamp9/scipy,woodscn/scipy,FRidh/scipy,jor-/scipy,zxsted/scipy,nmayorov/scipy,mikebenfield/scipy,jjhelmus/scipy,efiring/scipy,nonhermitian/scipy,piyush0609/scipy,vigna/scipy,woodscn/scipy,matthewalbani/scipy,felipebetancur/scipy,jseabold/scipy,FRidh/scipy,mdhaber/scipy,njwilson23/scipy,richardotis/scipy,aman-iitj/scipy,jsilter/scipy,scipy/scipy,mortonjt/scipy,rgommers/scipy