Mercurial > hg
view tests/narrow-library.sh @ 37367:87c4253bebdb
py3: suppress the output of open() using `and None`
This patch suppresses the output of open() on Python 3 as it does not return any
output on Python 2.
This makes test-diffstat.t pass on Python 3.5
Differential Revision: https://phab.mercurial-scm.org/D3128
author | Pulkit Goyal <7895pulkit@gmail.com> |
---|---|
date | Thu, 05 Apr 2018 17:00:15 +0530 |
parents | 2405ca783672 |
children | bcf70058af90 |
line wrap: on
line source
cat >> $HGRCPATH <<EOF [extensions] narrow= [ui] ssh=python "$TESTDIR/dummyssh" [experimental] changegroup3 = True EOF