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 mark.dickinson
Recipients benjamin.peterson, christian.heimes, jafo, mark.dickinson, r.david.murray, ronaldoussoren, tarek, vstinner
Date 2010-05-08.19:46:35
SpamBayes Score 5.1327912e-05
Marked as misclassified No
Message-id <1273347997.5.0.701796087543.issue8084@psf.upfronthosting.co.za>
In-reply-to
Content
Ronald, r80967 makes test_site fail on my machine, with the following output:

======================================================================
FAIL: test_getsitepackages (__main__.HelperFunctionsTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "Lib/test/test_site.py", line 188, in test_getsitepackages
    self.assertEqual(len(dirs), 4)
AssertionError: 2 != 4

----------------------------------------------------------------------
Ran 17 tests in 0.321s

FAILED (failures=1)
Traceback (most recent call last):
  File "Lib/test/test_site.py", line 333, in <module>
    test_main()
  File "Lib/test/test_site.py", line 330, in test_main
    run_unittest(HelperFunctionsTests, ImportSideEffectTests)
  File "/Users/dickinsm/python/svn/trunk/Lib/test/test_support.py", line 1038, in run_unittest
    _run_suite(suite)
  File "/Users/dickinsm/python/svn/trunk/Lib/test/test_support.py", line 1021, in _run_suite
    raise TestFailed(err)
test.test_support.TestFailed: Traceback (most recent call last):
  File "Lib/test/test_site.py", line 188, in test_getsitepackages
    self.assertEqual(len(dirs), 4)
AssertionError: 2 != 4

Any ideas why?  This is on a non-framework debug build of the trunk.  The variable 'dirs' turns out to be:

['Python.framework/lib/python2.7/site-packages', 'Python.framework/lib/site-python']

What else should be there?
History
Date User Action Args
2010-05-08 19:46:37mark.dickinsonsetrecipients: + mark.dickinson, jafo, ronaldoussoren, vstinner, christian.heimes, benjamin.peterson, tarek, r.david.murray
2010-05-08 19:46:37mark.dickinsonsetmessageid: <1273347997.5.0.701796087543.issue8084@psf.upfronthosting.co.za>
2010-05-08 19:46:35mark.dickinsonlinkissue8084 messages
2010-05-08 19:46:35mark.dickinsoncreate