Remove old-style env= tests.
Warn user about deprecatd option
Fix missing docstring
More explicit exception handling
Merge pull request #14202 from cachedout/env_test_remove

pip test fixup and module cleanup