[Updated] D9273: global: use python3 in shebangs

martinvonz (Martin von Zweigbergk) phabricator at mercurial-scm.org
Mon Nov 9 18:03:29 UTC 2020


martinvonz added a comment.


  `test-parseindex2.py` fails for me with this patch:
  
    @@ -0,0 +1,11 @@
    +FAIL: testversiondetection (__main__.parseindex2tests)
    +
    +Traceback (most recent call last):
    +  File "/usr/local/google/home/martinvonz/hg/tests/test-parseindex2.py", line 201, in testversiondetection
    +    self.assertversionokay(1, makehex(major, minor, micro))
    +  File "/usr/local/google/home/martinvonz/hg/tests/test-parseindex2.py", line 170, in assertversionokay
    +    self.assertFalse(
    +AssertionError: b'Traceback (most recent call last):\n  File "<string>", line 1, in <module>\nImportError: No module named parsers\n' is not false : FAILED: version test #1 with Python sys.version_info(major=3, minor=8, micro=5, releaselevel='final', serial=0) and patched sys.hexversion 50857216 ('0x3080500'):
    + Expected no stdout but got:
    +-->'b'Traceback (most recent call last):\n  File "<string>", line 1, in <module>\nImportError: No module named parsers\n''
    +
  
  I've sent D9286 <https://phab.mercurial-scm.org/D9286> to fix that. That patch needs to go in before this one. I'll add it as a parent here in phabricator.

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D9273/new/

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

To: indygreg, #hg-reviewers
Cc: martinvonz, mercurial-patches
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial-patches/attachments/20201109/cc6d7432/attachment-0002.html>


More information about the Mercurial-patches mailing list