[Distutils] [issue125] macosx unittest failure for /tmp

Kurt Schwehr setuptools at bugs.python.org
Fri Apr 1 17:12:37 CEST 2011

New submission from Kurt Schwehr <kurtschwehr at yahoo.com>:

On the Mac, /tmp is a symbolic link to /private/tmp.  We are stuck Apple's decision to do this.  Hit this when trying adding code to the Mac OSX Fink distribute package.


FAIL: test_local_index (setuptools.tests.test_easy_install.TestUserInstallTest)
Traceback (most recent call last):
  File "/sw32/src/fink.build/distribute-py27-0.6.15-1/distribute-0.6.15/setuptools/tests/test_easy_install.py", line 234, in test_local_index
    self.assertEquals(res.location, new_location)
AssertionError: '/private/tmp/tmpCjeemJ' != '/tmp/tmpCjeemJ'

Ran 71 tests in 10.861s

FAILED (failures=1)

messages: 610
nosy: schwehr
priority: bug
status: unread
title: macosx unittest failure for /tmp

Setuptools tracker <setuptools at bugs.python.org>

More information about the Distutils-SIG mailing list