python: Use virtualenv to isolate tests.