fix unittest
fix unittest

Summary: Looks like the test explicitly looks for InvalidAddressFamilyException.  I don't think any users are depending on this particular error type either way, I just switched it to InvalidAddressFamilyException

Test Plan:
unit tests

Reviewed By: ldbrandy@fb.com

Subscribers: doug, njormrod

FB internal diff: D1570363

Tasks: 5153819

xzmagic/folly,cole14/folly,bikong2/folly,cole14/folly,SeanRBurton/folly,mqeizi/folly,rklabs/folly,theiver9827/folly,PPC64/folly,tempbottle/folly,colemancda/folly,stonegithubs/folly,reddit/folly,bobegir/folly,gavioto/folly,rklabs/folly,Hincoin/folly,wildinto/folly,theiver9827/folly,SammyK/folly,stonegithubs/folly,gavioto/folly,zhiweicai/folly,bsampath/folly,colemancda/folly,leolujuyi/folly,upsoft/folly,hongliangzhao/folly,yangjin-unique/folly,reddit/folly,project-zerus/folly,lifei/folly,nickhen/folly,Hincoin/folly,constantine001/folly,tomhughes/folly,doctaweeks/folly,kernelim/folly,CJstar/folly,PPC64/folly,cole14/folly,loverszhaokai/folly,sonnyhu/folly,guker/folly,theiver9827/folly,ykarlsbrun/folly,sonnyhu/folly,clearlinux/folly,clearlylin/folly,gaoyingie/folly,PPC64/folly,arg0/folly,constantine001/folly,chjp2046/folly,rklabs/folly,Eagle-X/folly,bobegir/folly,SammyK/folly,loverszhaokai/folly,tempbottle/folly,bikong2/folly,Hincoin/folly,KSreeHarsha/folly,renyinew/folly,colemancda/folly,romange/folly,SeanRBurton/folly,bobegir/folly,hongliangzhao/folly,mqeizi/folly,shaobz/folly,fw1121/folly,floxard/folly,kernelim/folly,alexst07/folly,loverszhaokai/folly,brunomorishita/folly,romange/folly,tomhughes/folly,raphaelamorim/folly,facebook/folly,CJstar/folly,xzmagic/folly,constantine001/folly,cppfool/folly,zhiweicai/folly,CJstar/folly,loversInJapan/folly,lifei/folly,chjp2046/folly,fw1121/folly,loversInJapan/folly,leolujuyi/folly,chjp2046/folly,SammyK/folly,PoisonBOx/folly,gavioto/folly,kernelim/folly,bsampath/folly,sakishum/folly,lifei/folly,wildinto/folly,raphaelamorim/folly,Hincoin/folly,kernelim/folly,mqeizi/folly,alexst07/folly,tomhughes/folly,Eagle-X/folly,rklabs/folly,Eagle-X/folly,juniway/folly,facebook/folly,arg0/folly,loversInJapan/folly,gavioto/folly,bowlofstew/folly,floxard/folly,shaobz/folly,cole14/folly,leolujuyi/folly,tomhughes/folly,sakishum/folly,leolujuyi/folly,nickhen/folly,PPC64/folly,Orvid/folly,KSreeHarsha/folly,Orvid/folly,guker/folly,doctaweeks/folly,lifei/folly,theiver9827/folly,CJstar/folly,sonnyhu/folly,wildinto/folly,lifei/folly,tempbottle/folly,ykarlsbrun/folly,facebook/folly,PoisonBOx/folly,PoisonBOx/folly,loverszhaokai/folly,tempbottle/folly,reddit/folly,tomhughes/folly,zhiweicai/folly,SammyK/folly,nickhen/folly,cppfool/folly,clearlylin/folly,bikong2/folly,upsoft/folly,gaoyingie/folly,floxard/folly,sakishum/folly,hongliangzhao/folly,SeanRBurton/folly,alexst07/folly,colemancda/folly,clearlinux/folly,juniway/folly,zhiweicai/folly,PPC64/folly,gaoyingie/folly,shaobz/folly,fw1121/folly,yangjin-unique/folly,colemancda/folly,stonegithubs/folly,ykarlsbrun/folly,reddit/folly,Eagle-X/folly,romange/folly,bowlofstew/folly,nickhen/folly,project-zerus/folly,CJstar/folly,zhiweicai/folly,bowlofstew/folly,renyinew/folly,PoisonBOx/folly,rklabs/folly,wildinto/folly,upsoft/folly,raphaelamorim/folly,cole14/folly,upsoft/folly,fw1121/folly,renyinew/folly,mqeizi/folly,sakishum/folly,chjp2046/folly,PoisonBOx/folly,project-zerus/folly,doctaweeks/folly,facebook/folly,arg0/folly,floxard/folly,theiver9827/folly,project-zerus/folly,bsampath/folly,bobegir/folly,KSreeHarsha/folly,raphaelamorim/folly,nickhen/folly,stonegithubs/folly,arg0/folly,bowlofstew/folly,bsampath/folly,upsoft/folly,brunomorishita/folly,guker/folly,sonnyhu/folly,guker/folly,leolujuyi/folly,juniway/folly,guker/folly,bsampath/folly,tempbottle/folly,juniway/folly,kernelim/folly,constantine001/folly,brunomorishita/folly,bikong2/folly,clearlinux/folly,xzmagic/folly,constantine001/folly,clearlylin/folly,SeanRBurton/folly,alexst07/folly,romange/folly,brunomorishita/folly,doctaweeks/folly,sakishum/folly,bowlofstew/folly,juniway/folly,wildinto/folly,sonnyhu/folly,charsyam/folly,gaoyingie/folly,shaobz/folly,SammyK/folly,ykarlsbrun/folly,cppfool/folly,hongliangzhao/folly,SeanRBurton/folly,clearlylin/folly,clearlinux/folly,KSreeHarsha/folly,clearlinux/folly,yangjin-unique/folly,Orvid/folly,raphaelamorim/folly,brunomorishita/folly,renyinew/folly,reddit/folly,shaobz/folly,renyinew/folly,bobegir/folly,Orvid/folly,xzmagic/folly,doctaweeks/folly,fw1121/folly,alexst07/folly,floxard/folly,Orvid/folly,charsyam/folly,bikong2/folly,loversInJapan/folly,yangjin-unique/folly,KSreeHarsha/folly,mqeizi/folly,facebook/folly,loversInJapan/folly,Hincoin/folly,gavioto/folly,gaoyingie/folly,ykarlsbrun/folly,loverszhaokai/folly,cppfool/folly,Eagle-X/folly,xzmagic/folly,stonegithubs/folly,chjp2046/folly,yangjin-unique/folly,clearlylin/folly,arg0/folly,cppfool/folly,charsyam/folly,project-zerus/folly,hongliangzhao/folly,romange/folly,charsyam/folly