[New-bugs-announce] [issue19360] test_site fails when installed into $HOME/.local
Antoine Pitrou
report at bugs.python.org
Wed Oct 23 11:35:31 CEST 2013
New submission from Antoine Pitrou:
If I configure Python with "$HOME/.local" as a prefix, test_site fails:
======================================================================
FAIL: test_s_option (test.test_site.HelperFunctionsTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/antoine/cpython/opt/Lib/test/test_site.py", line 182, in test_s_option
self.assertEqual(rc, 0)
AssertionError: 1 != 0
This is because the user site then falls in the same place as the "main" site-packages:
>>> site.getsitepackages()
['/home/antoine/.local/lib/python3.4/site-packages', '/home/antoine/.local/lib/site-python']
>>> site.getusersitepackages()
'/home/antoine/.local/lib/python3.4/site-packages'
(what is "site-python" btw??)
----------
components: Tests
messages: 201011
nosy: christian.heimes, pitrou
priority: low
severity: normal
stage: needs patch
status: open
title: test_site fails when installed into $HOME/.local
type: behavior
versions: Python 3.3, Python 3.4
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue19360>
_______________________________________
More information about the New-bugs-announce
mailing list