[py-dev] 1.0.0b8 out

Gordon Wrigley py-dev at tolomea.com
Thu Jul 23 04:04:30 CEST 2009


Alas I'm still getting logging issues, specifically I get a big slab
of this every time a test fails

Traceback (most recent call last):
  File "/usr/lib/python2.6/logging/__init__.py", line 769, in emit
    stream.write(fs % msg)
ValueError: I/O operation on closed file
Traceback (most recent call last):
  File "/usr/lib/python2.6/logging/__init__.py", line 769, in emit
    stream.write(fs % msg)
ValueError: I/O operation on closed file
Traceback (most recent call last):
  File "/usr/lib/python2.6/logging/__init__.py", line 769, in emit
    stream.write(fs % msg)
ValueError: I/O operation on closed file
Traceback (most recent call last):
  File "/usr/lib/python2.6/logging/__init__.py", line 769, in emit
    stream.write(fs % msg)
ValueError: I/O operation on closed file
Traceback (most recent call last):
  File "/usr/lib/python2.6/logging/__init__.py", line 769, in emit
    stream.write(fs % msg)
ValueError: I/O operation on closed file

Regards Gordon

On Thu, Jul 23, 2009 at 12:23 AM, holger krekel<holger at merlinux.eu> wrote:
> Hi all,
>
> i just put a new 1.0.0.b8 release to PyPI, find below
> a list of changes.
>
> Documentation is also updated majorly - there now is an
> auto-generated list of pages for each plugin, just go to
>
>    http://pytest.org
>
> and look around.  And let me know of any issues.
>
> have fun, and thanks to all who helped.
>
> holger
>
>
> list of changes 1.0.0b7 to 1.0.0b8:
>
> * pytest_unittest-plugin is now enabled by default
>
> * introduced pytest_keyboardinterrupt hook and
>  refined pytest_sessionfinish hook, added tests.
>
> * workaround a buggy logging module interaction ("closing already closed
>  files").  Thanks to Sridhar Ratnakumar for triggering.
>
> * if plugins use "py.test.importorskip" for importing
>  a dependency only a warning will be issued instead
>  of exiting the testing process.
>
> * many improvements to docs:
>  - refined funcargs doc , use the term "factory" instead of "provider"
>  - added a new talk/tutorial doc page
>  - better download page
>  - better plugin docstrings
>  - added new plugins page and automatic doc generation script
>
> * fixed teardown problem related to partially failing funcarg setups
>  (thanks MrTopf for reporting), "pytest_runtest_teardown" is now
>  always invoked even if the "pytest_runtest_setup" failed.
>
> * tweaked doctest output for docstrings in py modules,
>  thanks Radomir.
>
> --
> Metaprogramming, Python, Testing: http://tetamap.wordpress.com
> Python, PyPy, pytest contracting: http://merlinux.eu
> _______________________________________________
> py-dev mailing list
> py-dev at codespeak.net
> http://codespeak.net/mailman/listinfo/py-dev
>



More information about the Pytest-dev mailing list