Protect a newer pty test from Windows kaboom
Protect a newer pty test from Windows kaboom

kejbaly2/invoke,pfmoore/invoke,pyinvoke/invoke,singingwolfboy/invoke,mattrobenolt/invoke,tyewang/invoke,mattrobenolt/invoke,mkusz/invoke,kejbaly2/invoke,pyinvoke/invoke,frol/invoke,frol/invoke,pfmoore/invoke,mkusz/invoke