fix test_formula_pin
fix test_formula_pin

Closes Homebrew/homebrew#46468.

Signed-off-by: Xu Cheng <9a05244150b861e40c78843b801eed71bca54eac@me.com>

staticfloat/brew,EricFromCanada/brew,claui/brew,EricFromCanada/brew,DomT4/brew,pseudocody/brew,JCount/brew,vitorgalvao/brew,JCount/brew,ilovezfs/brew,gordonmcshane/homebrew,nandub/brew,mahori/brew,ilovezfs/brew,alyssais/brew,tonyg/homebrew,DomT4/brew,jmsundar/brew,rwhogg/brew,bfontaine/brew,vitorgalvao/brew,JCount/brew,nandub/brew,muellermartin/dist,pseudocody/brew,Linuxbrew/brew,pseudocody/brew,tonyg/homebrew,toonetown/homebrew,JCount/brew,Homebrew/brew,jmsundar/brew,EricFromCanada/brew,sjackman/homebrew,gregory-nisbet/brew,gregory-nisbet/brew,aw1621107/brew,reitermarkus/brew,rwhogg/brew,muellermartin/dist,toonetown/homebrew,mistydemeo/homebrew,jmsundar/brew,reelsense/brew,claui/brew,aw1621107/brew,rwhogg/brew,reitermarkus/brew,mgrimes/brew,DomT4/brew,konqui/brew,staticfloat/brew,amar-laksh/brew_sudo,mahori/brew,reelsense/brew,gordonmcshane/homebrew,Linuxbrew/brew,konqui/brew,MikeMcQuaid/brew,bfontaine/brew,claui/brew,mistydemeo/homebrew,nandub/brew,hanxue/linuxbrew,ilovezfs/brew,amar-laksh/brew_sudo,Linuxbrew/brew,sjackman/homebrew,vitorgalvao/brew,konqui/brew,maxim-belkin/brew,tonyg/homebrew,sjackman/homebrew,zmwangx/brew,mgrimes/brew,reitermarkus/brew,maxim-belkin/brew,vitorgalvao/brew,hanxue/linuxbrew,gregory-nisbet/brew,AnastasiaSulyagina/brew,Homebrew/brew,MikeMcQuaid/brew,reitermarkus/brew,mahori/brew,alyssais/brew,aw1621107/brew,zmwangx/brew,hanxue/linuxbrew,DomT4/brew,mahori/brew,mistydemeo/homebrew,Homebrew/brew,palxex/brew,sjackman/homebrew,amar-laksh/brew_sudo,konqui/brew,EricFromCanada/brew,AnastasiaSulyagina/brew,claui/brew,reelsense/brew,AnastasiaSulyagina/brew,palxex/brew,muellermartin/dist,Linuxbrew/brew,MikeMcQuaid/brew,Homebrew/brew,nandub/brew,maxim-belkin/brew,staticfloat/brew,zmwangx/brew,MikeMcQuaid/brew,bfontaine/brew,gordonmcshane/homebrew,alyssais/brew,toonetown/homebrew,mgrimes/brew,palxex/brew