Skip to content

Commit ce9949d

Browse files
author
Siddhant Kumar
committed
Dont rely on pydocbeing in PATH make call explicit
1 parent dc436a8 commit ce9949d

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/virtualenv/activation/batch/activate.bat

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,3 @@ if defined _OLD_VIRTUAL_PATH goto ENDIFVPATH2
3434

3535
set "PATH=%VIRTUAL_ENV%\__BIN_NAME__;%PATH%"
3636

37-
doskey pydoc=python -m pydoc

tests/unit/activation/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def _get_test_lines(self, activate_script):
7373
self.print_python_exe(),
7474
self.print_os_env_var("VIRTUAL_ENV"),
7575
# \\ loads documentation from the virtualenv site packages
76-
"pydoc -w pydoc_test",
76+
"python -m pydoc -w pydoc_test",
7777
self.deactivate,
7878
self.print_python_exe(),
7979
self.print_os_env_var("VIRTUAL_ENV"),

0 commit comments

Comments
 (0)