Use import_module to import pyglet in the pyglet tests
Use import_module to import pyglet in the pyglet tests

This allows us to catch OSError in addition to ImportError, fixing issue
3043.

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