[Python-Dev] problems building python2.7
Chris Withers
chris at simplistix.co.uk
Fri Nov 9 15:11:26 CET 2012
On 09/11/2012 11:54, Hans Mulder wrote:
> I tried "make test", and I got:
>
> test test_urllib failed -- Traceback (most recent call last):
> File "/Users/hans/python/cpython/cpython-2.7/Lib/test/test_urllib.py",
> line 235, in test_missing_localfile
> fp.close()
> UnboundLocalError: local variable 'fp' referenced before assignment
>
> Is this a bug in the test suite, or a regression in 2.7.3+ ?
>
> This is on MacOS 10.6.5, using a checkout from hg.python.org
> from earlier today.
I'm on MacOS 10.7.5 and got:
356 tests OK.
35 tests skipped:
test_al test_bsddb test_bsddb3 test_cd test_cl test_codecmaps_cn
test_codecmaps_hk test_codecmaps_jp test_codecmaps_kr
test_codecmaps_tw test_curses test_dl test_epoll test_gdb
test_gdbm test_gl test_imageop test_imgfile test_largefile
test_linuxaudiodev test_msilib test_ossaudiodev test_readline
test_smtpnet test_socketserver test_startfile test_sunaudiodev
test_timeout test_tk test_ttk_guionly test_urllib2net
test_urllibnet test_winreg test_winsound test_zipfile64
4 skips unexpected on darwin:
test_dl test_readline test_tk test_ttk_guionly
Chris
--
Simplistix - Content Management, Batch Processing & Python Consulting
- http://www.simplistix.co.uk
More information about the Python-Dev
mailing list