[issue8179] Test failure in test_macpath.py test_realpath (Mac OS X)

Michael Foord report at bugs.python.org
Sat Mar 20 03:53:17 CET 2010


New submission from Michael Foord <michael at voidspace.org.uk>:

On Mac OS X 10.6.2


======================================================================
ERROR: test_realpath (__main__.MacCommonTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/compile/python-back/Lib/test/test_genericpath.py", line 213, in test_realpath
    self.assertIn("foo", self.pathmodule.realpath("foo"))
  File "/compile/python-back/Lib/macpath.py", line 209, in realpath
    path = Carbon.File.FSResolveAliasFile(path, 1)[0].as_pathname()
Error: (-43, 'File not found')

----------------------------------------------------------------------
Ran 19 tests in 0.087s

FAILED (errors=1, skipped=1)
Traceback (most recent call last):
  File "Lib/test/test_macpath.py", line 57, in <module>
    test_main()
  File "Lib/test/test_macpath.py", line 53, in test_main
    test_support.run_unittest(MacPathTestCase, MacCommonTest)
  File "/compile/python-back/Lib/test/test_support.py", line 1031, in run_unittest
    _run_suite(suite)
  File "/compile/python-back/Lib/test/test_support.py", line 1014, in _run_suite
    raise TestFailed(err)
test.test_support.TestFailed: Traceback (most recent call last):
  File "/compile/python-back/Lib/test/test_genericpath.py", line 213, in test_realpath
    self.assertIn("foo", self.pathmodule.realpath("foo"))
  File "/compile/python-back/Lib/macpath.py", line 209, in realpath
    path = Carbon.File.FSResolveAliasFile(path, 1)[0].as_pathname()
Error: (-43, 'File not found')

----------
assignee: ronaldoussoren
messages: 101360
nosy: michael.foord, ronaldoussoren
severity: normal
stage: needs patch
status: open
title: Test failure in test_macpath.py test_realpath (Mac OS X)
versions: Python 2.7

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8179>
_______________________________________


More information about the Python-bugs-list mailing list