[py-dev] py.test --looponfailing IOError
holger krekel
holger at merlinux.de
Sat Jul 12 07:01:38 CEST 2008
Hello Matthew,
this seems to be a problem with the lower level network communication part.
also had other reports pointing to that. I aim to look into
this next week when i am back from EuroPython ...
can you meanwhile post your Python version and attach the test
file that triggered the problems?
best & thanks,
holger
On Sat, Jul 12, 2008 at 10:50 +1200, Matthew Edwards wrote:
> Hi
>
> I'm running py 0.9.1 (from tarfile) on Windows XP. I've written a
> couple of simple tests, which are in a folder called test. Whenever I
> do "py.test --looponfailing test/" I get the following output:
>
>
> inserting into sys.path: C:\Program Files\Python\Lib\site-packages
> * opening PopenGateway: C:\Program Files\Python\python.exe
> Traceback (most recent call last):
> File "C:\Program
> Files\Python\Lib\site-packages\py\bin\win32\\..\py.test", line 4, in
> <module>
> py.test.cmdline.main()
> File "C:\Program Files\Python\Lib\site-packages\py\test\cmdline.py",
> line 15, in main
> failures = session.main()
> File "C:\Program
> Files\Python\Lib\site-packages\py\test\terminal\remote.py", line 82,
> in main
> failures = self.run_remote_session(failures)
> File "C:\Program
> Files\Python\Lib\site-packages\py\test\terminal\remote.py", line 100,
> in run_remote_session
>
> gw, topdir = self._initslavegateway()
> File "C:\Program
> Files\Python\Lib\site-packages\py\test\terminal\remote.py", line 97,
> in _initslavegateway
> return py.execnet.PopenGateway(self.executable), topdir
> File "C:\Program
> Files\Python\Lib\site-packages\py\execnet\register.py", line 66, in
> __init__
> super(PopenGateway, self).__init__(cmd)
> File "C:\Program
> Files\Python\Lib\site-packages\py\execnet\register.py", line 55, in
> __init__
> super(PopenCmdGateway, self).__init__(io=io)
> File "C:\Program
> Files\Python\Lib\site-packages\py\execnet\register.py", line 29, in
> __init__
> self._remote_bootstrap_gateway(io)
> File "C:\Program
> Files\Python\Lib\site-packages\py\execnet\register.py", line 80, in
> _remote_bootstrap_gateway
> super(PopenGateway, self)._remote_bootstrap_gateway(io, s)
> File "C:\Program
> Files\Python\Lib\site-packages\py\execnet\register.py", line 49, in
> _remote_bootstrap_gateway
> io.write('%r\n' % source)
> File "C:\Program
> Files\Python\Lib\site-packages\py\execnet\inputoutput.py", line 95, in
> write
> self.outfile.write(data)
> IOError: [Errno 22] Invalid argument
>
> I can run the tests without --looponfailing.
>
> Any help appreciated
> Matthew
> _______________________________________________
> py-dev mailing list
> py-dev at codespeak.net
> http://codespeak.net/mailman/listinfo/py-dev
>
--
collaborative expert contracting: http://merlinux.eu
pylib py.test/greenlets/svn APIs: http://pylib.org
PyPy Python/Compiler tool chain: http://codespeak.net/pypy
More information about the Pytest-dev
mailing list