[Pytest-commit] commit/pytest: hpk42: refactor sorting wrt class-scopes. This fixes issue396 and also simplifies
commits-noreply at bitbucket.org
commits-noreply at bitbucket.org
Sat Dec 7 19:31:38 CET 2013
1 new commit in pytest:
https://bitbucket.org/hpk42/pytest/commits/2c3cb44dc734/
Changeset: 2c3cb44dc734
User: hpk42
Date: 2013-12-07 19:31:27
Summary: refactor sorting wrt class-scopes. This fixes issue396 and also simplifies
the internal sorting algorithm a bit.
Affected #: 2 files
diff -r feedfaa045da026e0a382081bcf6b3a9a4120d47 -r 2c3cb44dc7349346c87353ced3c5dc4add769803 CHANGELOG
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -10,6 +10,10 @@
hook and expecting certain fixture instances are torn down within (very
unlikely and would have been unreliable anyway).
+- fix issue290 - there is preliminary support now for parametrizing
+ with repeated same values (sometimes useful to to test if calling
+ a second time works as with the first time).
+
- fix issue246 (again) fix finalizer order to be LIFO on independent fixtures
depending on a parametrized higher-than-function scoped fixture.
(fix quite some effort so please bear with the complexity of this sentence :)
diff -r feedfaa045da026e0a382081bcf6b3a9a4120d47 -r 2c3cb44dc7349346c87353ced3c5dc4add769803 testing/python/metafunc.py
--- a/testing/python/metafunc.py
+++ b/testing/python/metafunc.py
@@ -814,7 +814,7 @@
reprec.assertoutcome(passed=2, skipped=2)
- @pytest.mark.xfail(reason="issue 290")
+ @pytest.mark.issue290
def test_parametrize_ID_generation_string_int_works(self, testdir):
testdir.makepyfile("""
import pytest
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.
More information about the pytest-commit
mailing list