Mercurial > hg
comparison tests/test-install.t @ 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 | d6f34ceb08db |
children | 9a250055ffbc |
comparison
equal
deleted
inserted
replaced
43266:8d02e3c86815 | 43267:a324f6a0cfd3 |
---|---|
234 Not installed: | 234 Not installed: |
235 Not tracked: | 235 Not tracked: |
236 | 236 |
237 #endif | 237 #endif |
238 | 238 |
239 #if py3 | |
240 $ HGALLOWPYTHON3=1 | |
241 $ export HGALLOWPYTHON3 | |
242 #endif | |
243 | |
239 #if virtualenv | 244 #if virtualenv |
240 | 245 |
241 Verify that Mercurial is installable with pip. Note that this MUST be | 246 Verify that Mercurial is installable with pip. Note that this MUST be |
242 the last test in this file, because we do some nasty things to the | 247 the last test in this file, because we do some nasty things to the |
243 shell environment in order to make the virtualenv work reliably. | 248 shell environment in order to make the virtualenv work reliably. |