diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2017-07-27 16:05:44 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-27 16:05:44 (GMT) |
commit | fd6736d17901e539d6a9ddf50a9927a3a97a9c06 (patch) | |
tree | da075ee46ab24d5cd601ae1f20becdae86aa4aa1 /Python/Python-ast.c | |
parent | 29094cec7cddd561cac16ce93443ca72d740de4d (diff) | |
download | cpython-fd6736d17901e539d6a9ddf50a9927a3a97a9c06.zip cpython-fd6736d17901e539d6a9ddf50a9927a3a97a9c06.tar.gz cpython-fd6736d17901e539d6a9ddf50a9927a3a97a9c06.tar.bz2 |
bpo-31028: Fix test_pydoc when run directly (#2864) (#2911)
* 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)
Diffstat (limited to 'Python/Python-ast.c')
0 files changed, 0 insertions, 0 deletions