diff --git a/src/virtualenv/activation/batch/activate.bat b/src/virtualenv/activation/batch/activate.bat index 8186917fe..49657e267 100644 --- a/src/virtualenv/activation/batch/activate.bat +++ b/src/virtualenv/activation/batch/activate.bat @@ -34,4 +34,3 @@ if defined _OLD_VIRTUAL_PATH goto ENDIFVPATH2 set "PATH=%VIRTUAL_ENV%\__BIN_NAME__;%PATH%" -doskey pydoc=python -m pydoc diff --git a/tests/unit/activation/conftest.py b/tests/unit/activation/conftest.py index 34a49c18c..1238d6221 100644 --- a/tests/unit/activation/conftest.py +++ b/tests/unit/activation/conftest.py @@ -73,7 +73,7 @@ def _get_test_lines(self, activate_script): self.print_python_exe(), self.print_os_env_var("VIRTUAL_ENV"), # \\ loads documentation from the virtualenv site packages - "pydoc -w pydoc_test", + "python -m pydoc -w pydoc_test", self.deactivate, self.print_python_exe(), self.print_os_env_var("VIRTUAL_ENV"),