]> granicus.if.org Git - python/commit
bpo-31028: Fix test_pydoc when run directly (#2864) (#2910)
authorVictor Stinner <victor.stinner@gmail.com>
Thu, 27 Jul 2017 16:05:46 +0000 (18:05 +0200)
committerGitHub <noreply@github.com>
Thu, 27 Jul 2017 16:05:46 +0000 (18:05 +0200)
commitd019c7965d411b2132f68ed6bb33e538b4d9eba3
tree5e35113e17bfafd995d7da0307d73e3358328834
parent95b16a9705d6b4d31c016c014e59744fc33d53ea
bpo-31028: Fix test_pydoc when run directly (#2864) (#2910)

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