From patchwork Wed Sep 21 03:59:32 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [2,of,5] tests: clarify demandimport disabled state From: timeless X-Patchwork-Id: 16725 Message-Id: <982fe7cdb28bb263a96b.1474430372@gcc2-power8.osuosl.org> To: mercurial-devel@mercurial-scm.org Date: Wed, 21 Sep 2016 03:59:32 +0000 # HG changeset patch # User timeless # Date 1474429177 0 # Wed Sep 21 03:39:37 2016 +0000 # Node ID 982fe7cdb28bb263a96b1bc2c9c3b8aedb025ab6 # Parent 24d85146985b7d2fef3c27b97d4be983e57ae5c7 # Available At https://bitbucket.org/timeless/mercurial-crew # hg pull https://bitbucket.org/timeless/mercurial-crew -r 982fe7cdb28b tests: clarify demandimport disabled state diff -r 24d85146985b -r 982fe7cdb28b tests/test-demandimport.py --- a/tests/test-demandimport.py Wed Sep 21 02:46:59 2016 +0000 +++ b/tests/test-demandimport.py Wed Sep 21 03:39:37 2016 +0000 @@ -65,6 +65,7 @@ demandimport.disable() os.environ['HGDEMANDIMPORT'] = 'disable' +# this enable call should not actually enable demandimport! demandimport.enable() from mercurial import node print("node =", f(node))