Author mark.dickinson
Recipients mark.dickinson, ronaldoussoren
Date 2010-01-29.17:57:42
SpamBayes Score 4.10722e-06
Marked as misclassified No
Message-id <1264787865.0.0.0322335198663.issue7807@psf.upfronthosting.co.za>
In-reply-to
Content
I've been seeing the following test failure for trunk and release26-maint for a while, on OS X 10.6, on a relatively recent Macbook Pro (clean installation of Snow Leopard).  This is from a non-framework debug build (i.e., a simple ./configure && make).


Mark-Dickinsons-MacBook-Pro:trunk dickinsm$ ./python.exe Lib/test/test_macostools.py
test_copy (__main__.TestMacostools) ... ERROR
test_mkalias (__main__.TestMacostools) ... ERROR
test_mkalias_relative (__main__.TestMacostools) ... ERROR
test_touched (__main__.TestMacostools) ... ok

======================================================================
ERROR: test_copy (__main__.TestMacostools)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "Lib/test/test_macostools.py", line 67, in test_copy
    macostools.copy(test_support.TESTFN, TESTFN2)
  File "/Users/dickinsm/python/svn/trunk/Lib/plat-mac/macostools.py", line 114, in copy
    srcfss = File.FSSpec(src)
AttributeError: 'module' object has no attribute 'FSSpec'

======================================================================
ERROR: test_mkalias (__main__.TestMacostools)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "Lib/test/test_macostools.py", line 75, in test_mkalias
    macostools.mkalias(test_support.TESTFN, TESTFN2)
  File "/Users/dickinsm/python/svn/trunk/Lib/plat-mac/macostools.py", line 46, in mkalias
    dstfsr, dstfss = Res.FSCreateResourceFile(dstdirfsr, unicode(dstname),
AttributeError: 'module' object has no attribute 'FSCreateResourceFile'

======================================================================
ERROR: test_mkalias_relative (__main__.TestMacostools)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "Lib/test/test_macostools.py", line 90, in test_mkalias_relative
    macostools.mkalias(test_support.TESTFN, TESTFN2, sys.prefix)
  File "/Users/dickinsm/python/svn/trunk/Lib/plat-mac/macostools.py", line 46, in mkalias
    dstfsr, dstfss = Res.FSCreateResourceFile(dstdirfsr, unicode(dstname),
AttributeError: 'module' object has no attribute 'FSCreateResourceFile'

----------------------------------------------------------------------
Ran 4 tests in 0.026s

FAILED (errors=3)
Traceback (most recent call last):
  File "Lib/test/test_macostools.py", line 103, in <module>
    test_main()
  File "Lib/test/test_macostools.py", line 99, in test_main
    test_support.run_unittest(TestMacostools)
  File "/Users/dickinsm/python/svn/trunk/Lib/test/test_support.py", line 901, in run_unittest
    _run_suite(suite)
  File "/Users/dickinsm/python/svn/trunk/Lib/test/test_support.py", line 884, in _run_suite
    raise TestFailed(err)
test.test_support.TestFailed: multiple errors occurred
[31769 refs]


There's nothing glaringly obviously wrong in the build log.
History
Date User Action Args
2010-01-29 17:57:45mark.dickinsonsetrecipients: + mark.dickinson, ronaldoussoren
2010-01-29 17:57:44mark.dickinsonsetmessageid: <1264787865.0.0.0322335198663.issue7807@psf.upfronthosting.co.za>
2010-01-29 17:57:43mark.dickinsonlinkissue7807 messages
2010-01-29 17:57:42mark.dickinsoncreate