Staging
v0.5.1
https://github.com/python/cpython
Revision d019c7965d411b2132f68ed6bb33e538b4d9eba3 authored by Victor Stinner on 27 July 2017, 16:05:46 UTC, committed by GitHub on 27 July 2017, 16:05:46 UTC
* bpo-31028: Fix test_pydoc when run directly

Fix get_pydoc_link() of test_pydoc to fix "./python
Lib/test/test_pydoc.py": get the absolute path to __file__ to prevent
relative directories.

* Use realpath() instead of abspath()

(cherry picked from commit fd46561167af6cd697191dd7ebb8c2fef5ad6493)
1 parent 95b16a9
History
Tip revision: d019c7965d411b2132f68ed6bb33e538b4d9eba3 authored by Victor Stinner on 27 July 2017, 16:05:46 UTC
bpo-31028: Fix test_pydoc when run directly (#2864) (#2910)
Tip revision: d019c79
File Mode Size
.github
Doc
Grammar
Include
Lib
Mac
Misc
Modules
Objects
PC
PCbuild
Parser
Programs
Python
Tools
.bzrignore -rw-r--r-- 582 bytes
.gitattributes -rw-r--r-- 798 bytes
.gitignore -rw-r--r-- 1.3 KB
.hgeol -rw-r--r-- 1.0 KB
.hgignore -rw-r--r-- 1.3 KB
.hgtags -rw-r--r-- 8.7 KB
.mention-bot -rw-r--r-- 39 bytes
.travis.yml -rw-r--r-- 4.4 KB
LICENSE -rw-r--r-- 12.5 KB
Makefile.pre.in -rw-r--r-- 58.0 KB
README.rst -rw-r--r-- 9.1 KB
aclocal.m4 -rw-r--r-- 10.7 KB
config.guess -rwxr-xr-x 43.2 KB
config.sub -rwxr-xr-x 35.7 KB
configure -rwxr-xr-x 473.4 KB
configure.ac -rw-r--r-- 156.7 KB
install-sh -rwxr-xr-x 7.0 KB
pyconfig.h.in -rw-r--r-- 40.4 KB
setup.py -rw-r--r-- 98.9 KB

README.rst

back to top