refactor sorting wrt class-scopes. This fixes issue396 and also simplifies
the internal sorting algorithm a bit.
This commit is contained in:
parent
dbfbc2b222
commit
daec4c70b8
|
@ -10,6 +10,10 @@ Unreleased
|
||||||
hook and expecting certain fixture instances are torn down within (very
|
hook and expecting certain fixture instances are torn down within (very
|
||||||
unlikely and would have been unreliable anyway).
|
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
|
- fix issue246 (again) fix finalizer order to be LIFO on independent fixtures
|
||||||
depending on a parametrized higher-than-function scoped fixture.
|
depending on a parametrized higher-than-function scoped fixture.
|
||||||
(fix quite some effort so please bear with the complexity of this sentence :)
|
(fix quite some effort so please bear with the complexity of this sentence :)
|
||||||
|
|
|
@ -814,7 +814,7 @@ class TestMarkersWithParametrization:
|
||||||
reprec.assertoutcome(passed=2, skipped=2)
|
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):
|
def test_parametrize_ID_generation_string_int_works(self, testdir):
|
||||||
testdir.makepyfile("""
|
testdir.makepyfile("""
|
||||||
import pytest
|
import pytest
|
||||||
|
|
Loading…
Reference in New Issue