D2537: tests: make get-with-headers flush after print() calls

yuja (Yuya Nishihara) phabricator at mercurial-scm.org
Fri Mar 2 16:05:01 UTC 2018


yuja requested changes to this revision.
yuja added a comment.
This revision now requires changes to proceed.


  Appears that this disclosed some weird issue:
  
    --- tests/test-hgweb-commands.t
    +++ tests/test-hgweb-commands.t.err
    @@ -2116,7 +2116,10 @@
       $ get-with-headers.py $LOCALIP:$HGPORT '?cmd=capabilities' | dd ibs=75 count=1 2> /dev/null; echo
       200 Script output follows
    
    -  lookup changegroupsubset branchmap pushkey known
    +  close failed in file object destructor:
    +  sys.excepthook is missing
    +  lost sys.stderr
    +

REPOSITORY
  rHG Mercurial

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

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


More information about the Mercurial-devel mailing list