D5075: tests: accept slightly different zip file in Python 3

durin42 (Augie Fackler) phabricator at mercurial-scm.org
Sat Oct 13 14:27:20 UTC 2018


durin42 added a comment.


  In https://phab.mercurial-scm.org/D5075#76125, @pulkit wrote:
  
  > In https://phab.mercurial-scm.org/D5075#76117, @yuja wrote:
  >
  > > > - body: size=1377, sha1=677b14d3d048778d5eb5552c14a67e6192068650 +  body: size=1377, sha1=677b14d3d048778d5eb5552c14a67e6192068650 (no-py3k !) +  body: size=1461, sha1=be6d3983aa13dfe930361b2569291cdedd02b537 (py3k !)
  > >
  > > For some reason, my Python 3 says
  > >  `size=1489, sha1=1897e496871aa89ad685a92b936f5fa0d008b9e8`
  >
  >
  > I suspect it's because we have different versions on Python 3.
  
  
  Ugh. Should we just glob the size and sha1 then? I'm a little hesitant to do that, but I don't see many other paths forward...

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D5075

To: durin42, pulkit, #hg-reviewers
Cc: yuja, mjpieters, mercurial-devel


More information about the Mercurial-devel mailing list