# HG changeset patch # User Matt Harbison # Date 2019-10-16 01:51:37 # Node ID a324f6a0cfd3bcfb0382213717bd244e090c25f9 # Parent 8d02e3c86815ac25ad396f5d415c8c90893d0686 tests: opt into python3 when testing virtualenv installation Otherwise it complains that Mercurial requires '~=2.7'. Since the existing linux py3 test doesn't flag this, I'm assuming that virtualenv simply isn't installed on that system. Differential Revision: https://phab.mercurial-scm.org/D7111 diff --git a/tests/test-install.t b/tests/test-install.t --- a/tests/test-install.t +++ b/tests/test-install.t @@ -236,6 +236,11 @@ Verify the json works too: #endif +#if py3 + $ HGALLOWPYTHON3=1 + $ export HGALLOWPYTHON3 +#endif + #if virtualenv Verify that Mercurial is installable with pip. Note that this MUST be