Skip to content

[2.7] bpo-31028: Fix test_pydoc when run directly (#2864)#2911

Merged
vstinner merged 1 commit into
python:2.7from
vstinner:pydoc_basedir27
Jul 27, 2017
Merged

[2.7] bpo-31028: Fix test_pydoc when run directly (#2864)#2911
vstinner merged 1 commit into
python:2.7from
vstinner:pydoc_basedir27

Conversation

@vstinner

@vstinner vstinner commented Jul 27, 2017

Copy link
Copy Markdown
Member
  • 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 fd46561)

https://bugs.python.org/issue31028

* 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 fd46561)
@vstinner vstinner merged commit fd6736d into python:2.7 Jul 27, 2017
@vstinner vstinner deleted the pydoc_basedir27 branch July 27, 2017 16:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants