]> granicus.if.org Git - python/commit
bpo-31028: Fix test_pydoc when run directly (#2864)
authorVictor Stinner <victor.stinner@gmail.com>
Thu, 27 Jul 2017 09:21:26 +0000 (11:21 +0200)
committerGitHub <noreply@github.com>
Thu, 27 Jul 2017 09:21:26 +0000 (11:21 +0200)
commitfd46561167af6cd697191dd7ebb8c2fef5ad6493
treec02bc877142b82313f23059b51c4f8a697c01519
parenta80e985c493d2ab9df0832c99d9ddb798d2e66cf
bpo-31028: Fix test_pydoc when run directly (#2864)

* 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()
Lib/test/test_pydoc.py