D4995: tests: disable one check on Python 3

yuja (Yuya Nishihara) phabricator at mercurial-scm.org
Sun Oct 14 02:19:26 EDT 2018


yuja added a comment.


  >   I'm pretty confident this is caused by differences in Python 3's
  >   demandimporter wherein it'll notice nonexistent modules earlier than
  >   Python 2. As a result, let's just disable this check on Python 3.
  >   
  >   The test now passes on Python 3.
  
  The test passes on my Python 3.6.7rc1 (Debian sid) without no-py3k, and I
  think it is the test written for Py3.
  
  > +#if demandimport no-py3k
  >  +
  > 
  >   See also issue5208 for detail about example case on Python 3.x.

REPOSITORY
  rHG Mercurial

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

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


More information about the Mercurial-devel mailing list