[py-dev] Latest py.test results on WinXP
Grig Gheorghiu
grig at gheorghiu.net
Mon Jun 13 16:34:50 CEST 2005
--- holger krekel <hpk at trillke.net> wrote:
> On Mon, Jun 13, 2005 at 06:58 -0700, Grig Gheorghiu wrote:
> > I just did an svn update and ran py.test in the top-level py
> directory
> > on a WinXP box. Here's the output:
>
> you don't happen to have switched to the branch in-between?
> I see py/compat path parts which should only be present
> in David's dist-doctest branch ...
>
> holger
>
Nope, I've updated the code from http://codespeak.net/svn/py/dist
Grig
>
> > C:\py\py>py.test
> > inserting into sys.path: C:\py
> > ============================= test process starts
> > =============================
> > testing-mode: inprocess
> > executable: C:\Python24\python.exe (2.4.1-final-0)
> > using py lib: C:\py\py <rev unknown>
> >
> > builtin\testing\test_enumerate.py[1] .
> > code\testing\test_code.py[4] ....
> > code\testing\test_cpython_features.py[1] .
> > code\testing\test_excinfo.py[8] ........
> > code\testing\test_frame.py[2] ..
> > code\testing\test_source.py[25] .........................
> > documentation\example\pytest\test_failures.py[1] .
> > documentation\example\pytest\test_setup_flow_example.py[2] ..
> > documentation\test_conftest.py[1] F
> > documentation\TODO.txt[2] s.
> > documentation\api.txt[3] s..
> > documentation\coding-style.txt[3] s..
> > documentation\contact.txt[2] s.
> > documentation\execnet.txt[3] s..
> > documentation\future.txt[7] s......
> > documentation\getting-started.txt[7] s......
> > documentation\greenlet.txt[2] s.
> > documentation\home.txt[2] s.
> > documentation\index.txt[11] s..........
> > documentation\misc.txt[5] s....
> > documentation\releasescheme.txt[3] s..
> > documentation\test.txt[3] s..
> > documentation\why_py.txt[8] s.......
> > documentation\xml.txt[4] s...
> > execnet\testing\test_gateway.py[50]
> > ................................ssssssssssss
> > ssssss
> > execnet\testing\test_pickle.py[2] ..
> > magic\testing\test_assertion.py[7] .......
> > magic\testing\test_autopath.py[5] .....
> > magic\testing\test_exprinfo.py[7] .......
> > magic\testing\test_invoke.py[2] ..
> > magic\testing\test_patch.py[3] ...
> > magic\testing\test_viewtype.py[2] ..
> > misc\testing\test_api.py[3] ...
> > misc\testing\test_cache.py[11] ...........
> > misc\testing\test_error.py[1] .
> > misc\testing\test_initpkg.py[160]
> > ...........................F..................
> >
>
.F.F............................................................................
> > .................................s
> > misc\testing\test_log.py[7] .......
> > misc\testing\test_simplecapture.py[5] .....
> > misc\testing\test_std.py[3] ...
> > path\extpy\testing\test_extpy.py[52]
> > ...........................................
> > .........
> > path\local\popen5\testing\test_subprocess.py[0]
> > path\local\testing\test_local.py[78]
> > ...........................................
> > ...................................
> > path\local\testing\test_posix.py[0]
> > path\svn\testing\test_urlcommand.py[73]
> > ssssssssssssssssssssssssssssssssssssssss
> > sssssssssssssssssssssssssssssssss
> > path\svn\testing\test_wccommand.py[85]
> > sssssssssssssssssssssssssssssssssssssssss
> > ssssssssssssssssssssssssssssssssssssssssssss
> > path\testing\test_api.py[4] ....
> > process\testing\test_cmdexec.py[4] ....
> > test\testing\import_test\package\test_import.py[1] .
> > test\testing\test_api.py[2] ..
> > test\testing\test_collect.py[9] .........
> > test\testing\test_compat.py[18] ..................
> > test\testing\test_config.py[2] ..
> > test\testing\test_raises.py[4] ....
> > test\testing\test_session.py[20] ....................
> > test\testing\test_setup_nested.py[10] ..........
> > test\tkinter\testing\test_backend.py[18] ..................
> > test\tkinter\testing\test_capture_out_err.py[1] .
> > test\tkinter\testing\test_reportsession.py[2] ..
> > test\tkinter\testing\test_repository.py[20] ....................
> > test\tkinter\testing\test_util.py[17] .................
> > thread\testing\test_io.py[4] ....
> > thread\testing\test_pool.py[7] .......
> > tool\testing\test_utestconvert.py[1] .
> > xmlobj\testing\test_html.py[4] ....
> > xmlobj\testing\test_xml.py[6] ......
> >
> >
> > __________________________ reasons for skipped tests
> > __________________________
> > Skipped in C:\py\py\c-extension\conftest.py:13
> > reason: Skipped: c-extension testing needs platform selection
> >
> > Skipped in C:\py\py\path\svn\testing\svntestbase.py:23
> > reason: Skipped: could not create temporary svn test repository
> >
> > Skipped in C:\py\py\misc\testing\test_initpkg.py:79
> > reason: Skipped: cannot test svnversion, 'svnversion' binary not
> found
> >
> > Skipped in C:\py\py\execnet\testing\test_gateway.py:286
> > reason: Skipped: no known ssh target, use -S to set one
> >
> > Skipped in C:\py\py\documentation\conftest.py:17
> > reason: Skipped: docutils not importable
> >
> >
>
_______________________________________________________________________________
> >
> > def test_doctest_basic():
> > # XXX get rid of the next line:
> >
> >
>
py.magic.autopath().dirpath('conftest.py').copy(tmpdir.join('conftest.py
> > '))
> > tmpdir.ensure('__init__.py')
> >
> > xtxt = tmpdir.join('x.txt')
> > xtxt.write(py.code.Source("""
> > ..
> > >>> from os.path import abspath
> >
> > hello world
> >
> > >>> assert abspath
> > >>> i=3
> > >>> print i
> > 3
> >
> > yes yes
> >
> > >>> i
> > 3
> >
> > end
> > """))
> > config, args = py.test.Config.parse([str(xtxt)])
> > session = config.getsessionclass()(config,
> py.std.sys.stdout)
> > session.main([xtxt])
> > l = session.getitemoutcomepairs(py.test.Item.Failed)
> > assert len(l) == 0
> > l = session.getitemoutcomepairs(py.test.Item.Passed)
> > E assert len(l) == 2
> > > assert 1 == 2
> > + where 1 = len([(<DoctestText 'doctest'>, <Passed
> > instance>)])
> >
> > [C:\py\py\documentation\test_conftest.py:37]
> > [modulepath: test_doctest_basic]
> > - - - - - - - - - - test_doctest_basic: recorded stdout - - - - -
> - -
> > - - -
> > ============================= test process starts
> > =============================
> > testing-mode: inprocess
> > executable: C:\Python24\python.exe (2.4.1-final-0)
> > using py lib: C:\py\py <rev unknown>
> >
> > None[2] s.
> >
> >
> > __________________________ reasons for skipped tests
> > __________________________
> > Skipped in
> >
> c:\docume~1\ggheorg\locals~1\temp\pytest-140\docdoctest\conftest.py:1
> > 7
> > reason: Skipped: docutils not importable
> >
> > ============= tests finished: 1 passed, 1 skipped in 0.08 seconds
> > =============
> >
> >
>
_______________________________________________________________________________
> >
> > def check_import(modpath):
> > print "checking import", modpath
> > E assert __import__(modpath)
> > > ImportError: No module named compat.doctest
> >
> > [C:\py\py\misc\testing\test_initpkg.py:65]
> > [modulepath: test_importall[8]]
> > - - - - - - - - - - - - - - [8]: recorded stdout - - - - - - - - -
> - -
> > - - -
> > checking import py.__.compat.doctest
> >
> >
>
_______________________________________________________________________________
> >
> > def check_import(modpath):
> > print "checking import", modpath
> > E assert __import__(modpath)
> > > ImportError: No module named compat.optparse
> >
> > [C:\py\py\misc\testing\test_initpkg.py:65]
> > [modulepath: test_importall[9]]
> > - - - - - - - - - - - - - - [9]: recorded stdout - - - - - - - - -
> - -
> > - - -
> > checking import py.__.compat.optparse
> >
> >
>
_______________________________________________________________________________
> >
> > def check_import(modpath):
> > print "checking import", modpath
> > E assert __import__(modpath)
> > > ImportError: No module named compat.textwrap
> >
> > [C:\py\py\misc\testing\test_initpkg.py:65]
> > [modulepath: test_importall[10]]
> > - - - - - - - - - - - - - - [10]: recorded stdout - - - - - - - -
> - -
> > - - - -
> > checking import py.__.compat.textwrap
> >
> >
>
_______________________________________________________________________________
> > ===== tests finished: 624 passed, 4 failed, 193 skipped in 39.92
> > seconds =====
> >
> > _______________________________________________
> > py-dev mailing list
> > py-dev at codespeak.net
> > http://codespeak.net/mailman/listinfo/py-dev
> >
>
More information about the py-dev
mailing list