Wesley Mesquita wrote:
> Hi all,
> 
> I starting to explore python 3k core development environment. So, sorry in
> advance for any mistakes, but I really don't know what is the best list to
> post this, since it not a "use of python" issue, and probably is not a dev
> issue, it is more like a "dev env" question.
> 
> I have ran the test suit, and got the messages below.
> 
> ~/python_dev/python$ make testall
> 
> ./python -Wd -E -bb  ./Lib/test/regrtest.py -uall -l
> == CPython 3.2rc2+ (py3k:88376, Feb 7 2011, 18:31:28) [GCC 4.4.5]
> ==   Linux-2.6.35-24-generic-x86_64-with-debian-squeeze-sid little-endian
> ==   /home/wesley/python_dev/python/build/test_python_3387
> Testing with flags: sys.flags(debug=0, division_warning=0, inspect=0,
> interactive=0, optimize=0, dont_write_bytecode=0, no_user_site=0, no_site=0,
> ignore_environment=1, verbose=0, bytes_warning=2, quiet=0)
> 
> [...]
> 
> [198/349] test_ossaudiodev
> test_ossaudiodev skipped -- [Errno 2] No such file or directory: '/dev/dsp'
> 
> [...]
> 
> [200/349] test_parser
> Expecting 's_push: parser stack overflow' in next line
> s_push: parser stack overflow
> 
> [...]
> 
> [321/349] test_urllib2net
> /home/wesley/python_dev/python/Lib/socket.py:333: ResourceWarning: unclosed
> <socket.socket object, fd=8, family=2, type=2049, proto=6>
>   self._sock = None
> /home/wesley/python_dev/python/Lib/urllib/request.py:2134: ResourceWarning:
> unclosed <socket.socket object, fd=7, family=2, type=2049, proto=6>
>   sys.exc_info()[2])
> /home/wesley/python_dev/python/Lib/urllib/request.py:2134: ResourceWarning:
> unclosed <socket.socket object, fd=8, family=2, type=2049, proto=6>
>   sys.exc_info()[2])
> /home/wesley/python_dev/python/Lib/socket.py:333: ResourceWarning: unclosed
> <socket.socket object, fd=8, family=2, type=1, proto=6>
>   self._sock = None
> /home/wesley/python_dev/python/Lib/socket.py:333: ResourceWarning: unclosed
> <socket.socket object, fd=9, family=2, type=1, proto=6>
>   self._sock = None
> /home/wesley/python_dev/python/Lib/socket.py:333: ResourceWarning: unclosed
> <socket.socket object, fd=9, family=2, type=2049, proto=6>
>   self._sock = None
> /home/wesley/python_dev/python/Lib/socket.py:333: ResourceWarning: unclosed
> <socket.socket object, fd=7, family=2, type=2049, proto=6>
>   self._sock = None
> [323/349] test_urllibnet
> /home/wesley/python_dev/python/Lib/socket.py:333: ResourceWarning: unclosed
> <socket.socket object, fd=7, family=2, type=1, proto=6>
>   self._sock = None
> 
> 
> 24 tests skipped:
>     test_bz2 test_curses test_dbm_gnu test_dbm_ndbm test_gdb
>     test_kqueue test_ossaudiodev test_readline test_smtpnet
>     test_socketserver test_sqlite test_ssl test_startfile test_tcl
>     test_timeout test_tk test_ttk_guionly test_ttk_textonly
>     test_urllib2net test_urllibnet test_winreg test_winsound
>     test_xmlrpc_net test_zipfile64
> 9 skips unexpected on linux2:
>     test_bz2 test_dbm_gnu test_dbm_ndbm test_readline test_ssl
>     test_tcl test_tk test_ttk_guionly test_ttk_textonly
> sys:1: ResourceWarning: unclosed file <_io.TextIOWrapper name='/dev/null'
> mode='a' encoding='UTF-8'>
> 
> 
> But running each of them individually:
> 
> :~/python_dev/python$ ./python Lib/test/regrtest.py  test_ossaudiodev
> [1/1] test_ossaudiodev
> test_ossaudiodev skipped -- Use of the `audio' resource not enabled
> 1 test skipped:
>     test_ossaudiodev
> Those skips are all expected on linux2.
> 
> ./python Lib/test/regrtest.py test_parser
> [1/1] test_parser
> Expecting 's_push: parser stack overflow' in next line
> s_push: parser stack overflow
> 1 test OK.
> 
> ./python Lib/test/regrtest.py test_urllib2net[1/1] test_urllib2net
> test_urllib2net skipped -- Use of the `network' resource not enabled
> 1 test skipped:
>     test_urllib2net
> Those skips are all expected on linux2.
> 
> Is there any reason for the different results?

Yes: you are not using the same options on the stand-alone
tests as you are on the suite run. Most importantly, you
are not enabling all resources (-uall).

-- 
Marc-Andre Lemburg
eGenix.com

Professional Python Services directly from the Source  (#1, Feb 08 2011)
>>> Python/Zope Consulting and Support ...        http://www.egenix.com/
>>> mxODBC.Zope.Database.Adapter ...             http://zope.egenix.com/
>>> mxODBC, mxDateTime, mxTextTools ...        http://python.egenix.com/
________________________________________________________________________

::: Try our new mxODBC.Connect Python Database Interface for free ! ::::


   eGenix.com Software, Skills and Services GmbH  Pastor-Loeh-Str.48
    D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg
           Registered at Amtsgericht Duesseldorf: HRB 46611
               http://www.egenix.com/company/contact/
_______________________________________________
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