( )⚙ D8812 tests: virtualenv is only used on py2, rename and conditionalize

This is an archive of the discontinued Mercurial Phabricator instance.

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

Authored by spectral on Jul 24 2020, 6:24 PM.

Details

Summary

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.

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.