Fix ZeroDivisionError for stty columns=0
Fix ZeroDivisionError for stty columns=0

The PyTestReporter object fetches terminal width using `stty`.  This can
be reported as zero, giving later confusing errors.  If the width is
zero, use the default instead.

AkademieOlympia/sympy,kaushik94/sympy,postvakje/sympy,iamutkarshtiwari/sympy,sahmed95/sympy,atreyv/sympy,ChristinaZografou/sympy,jerli/sympy,Davidjohnwilson/sympy,diofant/diofant,souravsingh/sympy,AunShiLord/sympy,MechCoder/sympy,yukoba/sympy,Vishluck/sympy,madan96/sympy,Mitchkoens/sympy,moble/sympy,Sumith1896/sympy,madan96/sympy,maniteja123/sympy,rahuldan/sympy,MechCoder/sympy,farhaanbukhsh/sympy,Vishluck/sympy,shikil/sympy,vipulroxx/sympy,jaimahajan1997/sympy,jbbskinny/sympy,maniteja123/sympy,kevalds51/sympy,yashsharan/sympy,kaichogami/sympy,oliverlee/sympy,Vishluck/sympy,Curious72/sympy,sampadsaha5/sympy,garvitr/sympy,pandeyadarsh/sympy,toolforger/sympy,abloomston/sympy,wyom/sympy,atsao72/sympy,skidzo/sympy,wyom/sympy,cswiercz/sympy,moble/sympy,drufat/sympy,vipulroxx/sympy,aktech/sympy,postvakje/sympy,lindsayad/sympy,skidzo/sympy,jbbskinny/sympy,toolforger/sympy,chaffra/sympy,abhiii5459/sympy,grevutiu-gabriel/sympy,ga7g08/sympy,Arafatk/sympy,aktech/sympy,atsao72/sympy,Mitchkoens/sympy,sampadsaha5/sympy,meghana1995/sympy,kaushik94/sympy,ChristinaZografou/sympy,chaffra/sympy,atsao72/sympy,mafiya69/sympy,shikil/sympy,souravsingh/sympy,asm666/sympy,shikil/sympy,yashsharan/sympy,wanglongqi/sympy,Sumith1896/sympy,kumarkrishna/sympy,VaibhavAgarwalVA/sympy,iamutkarshtiwari/sympy,hargup/sympy,Shaswat27/sympy,sahilshekhawat/sympy,asm666/sympy,yukoba/sympy,Mitchkoens/sympy,Gadal/sympy,kaichogami/sympy,liangjiaxing/sympy,atreyv/sympy,farhaanbukhsh/sympy,lindsayad/sympy,oliverlee/sympy,kevalds51/sympy,lindsayad/sympy,Titan-C/sympy,ChristinaZografou/sympy,VaibhavAgarwalVA/sympy,Gadal/sympy,atreyv/sympy,debugger22/sympy,sampadsaha5/sympy,mafiya69/sympy,liangjiaxing/sympy,farhaanbukhsh/sympy,Titan-C/sympy,sahilshekhawat/sympy,drufat/sympy,debugger22/sympy,Davidjohnwilson/sympy,saurabhjn76/sympy,debugger22/sympy,ga7g08/sympy,emon10005/sympy,vipulroxx/sympy,yukoba/sympy,sahmed95/sympy,sahmed95/sympy,drufat/sympy,toolforger/sympy,cswiercz/sympy,abloomston/sympy,meghana1995/sympy,Shaswat27/sympy,mafiya69/sympy,bukzor/sympy,chaffra/sympy,jaimahajan1997/sympy,maniteja123/sympy,garvitr/sympy,pandeyadarsh/sympy,Titan-C/sympy,pbrady/sympy,jerli/sympy,Designist/sympy,bukzor/sympy,Arafatk/sympy,Gadal/sympy,wyom/sympy,meghana1995/sympy,sahilshekhawat/sympy,abhiii5459/sympy,rahuldan/sympy,skidzo/sympy,jaimahajan1997/sympy,moble/sympy,AunShiLord/sympy,ahhda/sympy,ga7g08/sympy,madan96/sympy,grevutiu-gabriel/sympy,abhiii5459/sympy,Curious72/sympy,Davidjohnwilson/sympy,pbrady/sympy,souravsingh/sympy,AunShiLord/sympy,VaibhavAgarwalVA/sympy,Sumith1896/sympy,yashsharan/sympy,kaushik94/sympy,rahuldan/sympy,hargup/sympy,pbrady/sympy,AkademieOlympia/sympy,Shaswat27/sympy,ahhda/sympy,saurabhjn76/sympy,asm666/sympy,postvakje/sympy,aktech/sympy,ahhda/sympy,garvitr/sympy,iamutkarshtiwari/sympy,pandeyadarsh/sympy,Designist/sympy,MechCoder/sympy,wanglongqi/sympy,Curious72/sympy,jbbskinny/sympy,emon10005/sympy,mcdaniel67/sympy,mcdaniel67/sympy,saurabhjn76/sympy,oliverlee/sympy,kaichogami/sympy,cswiercz/sympy,hargup/sympy,grevutiu-gabriel/sympy,liangjiaxing/sympy,Designist/sympy,kevalds51/sympy,bukzor/sympy,kumarkrishna/sympy,Arafatk/sympy,abloomston/sympy,wanglongqi/sympy,emon10005/sympy,AkademieOlympia/sympy,mcdaniel67/sympy,jerli/sympy,skirpichev/omg,kumarkrishna/sympy