changeset 43267:a324f6a0cfd3

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
author Matt Harbison <matt_harbison@yahoo.com>
date Tue, 15 Oct 2019 21:51:37 -0400
parents 8d02e3c86815
children e88549a02f5e
files tests/test-install.t
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-install.t	Sun Oct 06 15:17:34 2019 +0530
+++ b/tests/test-install.t	Tue Oct 15 21:51:37 2019 -0400
@@ -236,6 +236,11 @@
 
 #endif
 
+#if py3
+  $ HGALLOWPYTHON3=1
+  $ export HGALLOWPYTHON3
+#endif
+
 #if virtualenv
 
 Verify that Mercurial is installable with pip. Note that this MUST be