2 new changesets in pytest: http://bitbucket.org/hpk42/pytest/changeset/2c11c4a67f9b/ changeset: r2177:2c11c4a67f9b user: hpk42 date: 2011-03-07 11:53:14 summary: mention that one might need to use the pypi.testrun.org repository affected #: 1 file (191 bytes)
--- a/doc/develop.txt Sun Mar 06 18:32:00 2011 +0100 +++ b/doc/develop.txt Mon Mar 07 11:53:14 2011 +0100 @@ -31,4 +31,10 @@ in order to work inline with the tools and the lib of your checkout. +If this command complains that it could not find the required version +of "py" then you need to use the development pypi repository:: + + python setup.py develop -i http://pypi.testrun.org + + .. include:: links.inc http://bitbucket.org/hpk42/pytest/changeset/221f4351b833/ changeset: r2178:221f4351b833 user: hpk42 date: 2011-03-07 13:17:07 summary: 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? affected #: 4 files (293 bytes) --- a/CHANGELOG Mon Mar 07 11:53:14 2011 +0100 +++ b/CHANGELOG Mon Mar 07 13:17:07 2011 +0100 @@ -29,6 +29,8 @@ of test ids that you can use to paste to the py.test commandline in order to execute a particular test. +- fix issue25 avoid reported problems with --pdb and python3.2/encodings output + - fix issue23 - tmpdir argument now works on Python3.2 and WindowsXP Starting with Python3.2 os.symlink may be supported. By requiring a newer py lib version the py.path.local() implementation acknowledges --- a/_pytest/pdb.py Mon Mar 07 11:53:14 2011 +0100 +++ b/_pytest/pdb.py Mon Mar 07 13:17:07 2011 +0100 @@ -52,7 +52,10 @@ if "xfail" in rep.keywords: return rep # we assume that the above execute() suspended capturing - tw = py.io.TerminalWriter() + # XXX we re-use the TerminalReporter's terminalwriter + # because this seems to avoid some encoding related troubles + # for not completely clear reasons. + tw = item.config.pluginmanager.getplugin("terminalreporter")._tw tw.line() tw.sep(">", "traceback") rep.toterminal(tw) --- a/pytest.py Mon Mar 07 11:53:14 2011 +0100 +++ b/pytest.py Mon Mar 07 13:17:07 2011 +0100 @@ -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 --- a/setup.py Mon Mar 07 11:53:14 2011 +0100 +++ b/setup.py Mon Mar 07 13:17:07 2011 +0100 @@ -22,7 +22,7 @@ name='pytest', description='py.test: simple powerful testing with Python', long_description = long_description, - version='2.0.2.dev5', + version='2.0.2.dev6', url='http://pytest.org', license='MIT license', platforms=['unix', 'linux', 'osx', 'cygwin', 'win32'], Repository URL: https://bitbucket.org/hpk42/pytest/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email. _______________________________________________ py-svn mailing list py-svn@codespeak.net http://codespeak.net/mailman/listinfo/py-svn