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.

classification
Title: OS X failures in test_site
Type: behavior Stage: resolved
Components: macOS Versions: Python 3.7
process
Status: closed Resolution: duplicate
Dependencies: Superseder: site.py imports relatively large `sysconfig` module.
View: 29585
Assigned To: Nosy List: ned.deily, pitrou, ronaldoussoren, vstinner
Priority: normal Keywords:

Created on 2017-06-28 20:05 by pitrou, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Messages (2)
msg297217 - (view) Author: Antoine Pitrou (pitrou) * (Python committer) Date: 2017-06-28 20:05
It seems there is a sporadic failure on OS X (oops, sorry, I mean "macOS"):

https://travis-ci.org/python/cpython/jobs/248079407#L3403

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

FAIL: test_getsitepackages (test.test_site.HelperFunctionsTests)

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

Traceback (most recent call last):

  File "/Users/travis/build/python/cpython/Lib/test/test_site.py", line 266, in test_getsitepackages

    self.assertEqual(len(dirs), 2)

AssertionError: 1 != 2

----------------------------------------------------------------------
msg297223 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2017-06-28 20:38
Yeah, it's a known issue, see:
http://bugs.python.org/issue29585#msg297194
History
Date User Action Args
2022-04-11 14:58:48adminsetgithub: 74978
2017-06-30 22:03:23ned.deilysetstatus: open -> closed
superseder: site.py imports relatively large `sysconfig` module.
resolution: duplicate
stage: resolved
2017-06-28 20:38:27vstinnersetmessages: + msg297223
2017-06-28 20:05:38pitroucreate