This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ncoghlan
Recipients brett.cannon, eric.snow, fdrake, methane, ncoghlan
Date 2017-02-19.11:22:53
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1487503373.25.0.370636079894.issue29592@psf.upfronthosting.co.za>
In-reply-to
Content
CI failure indicating it isn't redundant, but could still potentially be made faster since non-absolute paths should be relatively rare now:

======================================================================

FAIL: test_s_option (test.test_site.HelperFunctionsTests)

----------------------------------------------------------------------

Traceback (most recent call last):

  File "/home/travis/build/python/cpython/Lib/test/test_site.py", line 173, in test_s_option

    self.assertIn(usersite, sys.path)

AssertionError: '/home/travis/.local/lib/python3.7/site-packages' not found in ['', '/usr/local/lib/python37.zip', '/home/travis/build/python/cpython/Lib', '/home/travis/build/python/cpython/build/lib.linux-x86_64-3.7-pydebug']

======================================================================

FAIL: test_abs_paths (test.test_site.ImportSideEffectTests)

----------------------------------------------------------------------

Traceback (most recent call last):

  File "/home/travis/build/python/cpython/Lib/test/test_site.py", line 365, in test_abs_paths

    .format(os__file__.decode('ascii')))

AssertionError: False is not true : expected absolute path, got ../../Lib/os.py

----------------------------------------------------------------------
History
Date User Action Args
2017-02-19 11:22:53ncoghlansetrecipients: + ncoghlan, fdrake, brett.cannon, methane, eric.snow
2017-02-19 11:22:53ncoghlansetmessageid: <1487503373.25.0.370636079894.issue29592@psf.upfronthosting.co.za>
2017-02-19 11:22:53ncoghlanlinkissue29592 messages
2017-02-19 11:22:53ncoghlancreate