fix issue25 --pdb and win32/python encodings cause a crash in certain situations.

The reason is not clear but avoiding a fresh copy of the terminal writer
helps, maybe because the underlying file object has some state?
This commit is contained in:
holger krekel
2011-03-07 13:17:07 +01:00
parent f8e3fe8fbf
commit 5470cadbff
4 changed files with 8 additions and 3 deletions

View File

@@ -1,7 +1,7 @@
"""
unit and functional testing with Python.
"""
__version__ = '2.0.2.dev5'
__version__ = '2.0.2.dev6'
__all__ = ['main']
from _pytest.core import main, UsageError, _preloadplugins