test_rewrite: a test was made more general to catch all correct results.
test_rewrite: a test was made more general to catch all correct results.

This and the following patches are needed, because different architectures have
different Python hash implementations and thus different internal ordering of
terms in expressions. In this particular case it fixes things on amd64.

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