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 ixokai
Recipients ixokai, ronaldoussoren
Date 2011-01-10.19:54:06
SpamBayes Score 2.2370994e-13
Marked as misclassified No
Message-id <1294689247.64.0.100970558273.issue10881@psf.upfronthosting.co.za>
In-reply-to
Content
With the latest from branches/py3k, in a framework build, I get:

Wimp:build pythonbuildbot$ ./python.exe -m test.regrtest test_site
[1/1] test_site
test test_site failed -- Traceback (most recent call last):
  File "/Users/pythonbuildbot/32test/build/Lib/test/test_site.py", line 225, in test_getsitepackages
    self.assertEqual(len(dirs), 2)
AssertionError: 3 != 2

1 test failed:
    test_site
Wimp:build pythonbuildbot$ ./python.exe
Python 3.2b2+ (py3k:87899M, Jan 10 2011, 11:08:48) 
[GCC 4.0.1 (Apple Inc. build 5493)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import site
>>> site.getsitepackages()
['/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/site-packages', '/Library/Frameworks/Python.framework/Versions/3.2/lib/site-python', '/Library/Python/3.2/site-packages']

Those three dirs look correct for me, but the test is written to find exactly two from site.getsitepackages() -- the code, however, adds an extra in the event of framework builds.
History
Date User Action Args
2011-01-10 19:54:07ixokaisetrecipients: + ixokai, ronaldoussoren
2011-01-10 19:54:07ixokaisetmessageid: <1294689247.64.0.100970558273.issue10881@psf.upfronthosting.co.za>
2011-01-10 19:54:06ixokailinkissue10881 messages
2011-01-10 19:54:06ixokaicreate