HomePhabricator

tests: virtualenv is only used on py2, rename and conditionalize

Authored by spectral.

Description

tests: virtualenv is only used on py2, rename and conditionalize

If I have I have the Debian python3-virtualenv package installed on my
machine, the import succeeds but then I receive an AttributeError because the
package is essentially completely different between py2 and py3, and
test-hghave fails.

Differential Revision: https://phab.mercurial-scm.org/D8812

Details