Skip to content

[3.6] bpo-31028: Fix test_pydoc when run directly (#2864)#2910

Merged
vstinner merged 1 commit into
python:3.6from
vstinner:pydoc_basedir36
Jul 27, 2017
Merged

[3.6] bpo-31028: Fix test_pydoc when run directly (#2864)#2910
vstinner merged 1 commit into
python:3.6from
vstinner:pydoc_basedir36

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 d019c79 into python:3.6 Jul 27, 2017
@vstinner vstinner deleted the pydoc_basedir36 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