1 new commit in pytest:
https://bitbucket.org/hpk42/pytest/changeset/acf0e1477fb1/ changeset: acf0e1477fb1 user: hpk42 date: 2012-10-20 14:10:12 summary: some more fixes affected #: 3 files diff -r c547971be73ae42e4d1d1eea78ee8bc7c1e774df -r acf0e1477fb19a1d35a4e40242b77fa6af32eb17 CHANGELOG --- a/CHANGELOG +++ b/CHANGELOG @@ -1,4 +1,4 @@ -Changes between 2.3.0 and 2.3.dev +Changes between 2.3.0 and 2.3.1 ----------------------------------- - fix issue202 - fix regression: using "self" from fixture functions now @@ -16,8 +16,7 @@ - fix issue202 - better automatic names for parametrized test functions - fix issue139 - introduce @pytest.fixture which allows direct scoping - and parametrization of funcarg factories. Introduce new @pytest.setup - marker to allow the writing of setup functions which accept funcargs. + and parametrization of funcarg factories. - fix issue198 - conftest fixtures were not found on windows32 in some circumstances with nested directory structures due to path manipulation issues - fix issue193 skip test functions with were parametrized with empty @@ -27,7 +26,7 @@ - introduce re-ordering of tests by resource and parametrization setup which takes precedence to the usual file-ordering - fix issue185 monkeypatching time.time does not cause pytest to fail -- fix issue172 duplicate call of pytest.setup-decoratored setup_module +- fix issue172 duplicate call of pytest.fixture decoratored setup_module functions - fix junitxml=path construction so that if tests change the current working directory and the path is a relative path diff -r c547971be73ae42e4d1d1eea78ee8bc7c1e774df -r acf0e1477fb19a1d35a4e40242b77fa6af32eb17 doc/en/announce/release-2.3.1.txt --- /dev/null +++ b/doc/en/announce/release-2.3.1.txt @@ -0,0 +1,39 @@ +pytest-2.3.1: fix regression with factory functions +=========================================================================== + +pytest-2.3.1 is a quick follow-up release: + +- fix issue202 - regression with fixture functions/funcarg factories: + using "self" is now safe again and works as in 2.2.4. Thanks + to Eduard Schettino for the quick bug report. + +- disable pexpect pytest self tests on Freebsd - thanks Koob for the + quick reporting + +- fix/improve interactive docs with --markers + +See + + http://pytest.org/ + +for general information. To install or upgrade pytest: + + pip install -U pytest # or + easy_install -U pytest + +best, +holger krekel + + +Changes between 2.3.0 and 2.3.1 +----------------------------------- + +- fix issue202 - fix regression: using "self" from fixture functions now + works as expected (it's the same "self" instance that a test method + which uses the fixture sees) + +- skip pexpect using tests (test_pdb.py mostly) on freebsd* systems + due to pexpect not supporting it properly (hanging) + +- link to web pages from --markers output which provides help for + pytest.mark.* usage. diff -r c547971be73ae42e4d1d1eea78ee8bc7c1e774df -r acf0e1477fb19a1d35a4e40242b77fa6af32eb17 testing/test_skipping.py --- a/testing/test_skipping.py +++ b/testing/test_skipping.py @@ -551,8 +551,8 @@ def test_default_markers(testdir): result = testdir.runpytest("--markers") result.stdout.fnmatch_lines([ - "*skipif(*conditions)*skip*", - "*xfail(*conditions, reason=None, run=True)*expected failure*", + "*skipif(*condition)*skip*", + "*xfail(*condition, reason=None, run=True)*expected failure*", ]) 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