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
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to