D7111: tests: opt into python3 when testing virtualenv installation

mharbison72 (Matt Harbison) phabricator at mercurial-scm.org
Wed Oct 16 02:08:40 UTC 2019


mharbison72 created this revision.
Herald added subscribers: mercurial-devel, mjpieters.
Herald added a reviewer: hg-reviewers.

REVISION SUMMARY
  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.

REPOSITORY
  rHG Mercurial

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

AFFECTED FILES
  tests/test-install.t

CHANGE DETAILS

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 @@
 
 #endif
 
+#if py3
+  $ HGALLOWPYTHON3=1
+  $ export HGALLOWPYTHON3
+#endif
+
 #if virtualenv
 
 Verify that Mercurial is installable with pip. Note that this MUST be



To: mharbison72, #hg-reviewers
Cc: mjpieters, mercurial-devel


More information about the Mercurial-devel mailing list