fix issue396 -- properly sort tests using class-scoped parametrization

also refix issue323 in a better way to avoid recursion for the fixture-grouping
algorithm alltogether.
This commit is contained in:
holger krekel
2013-12-07 20:55:17 +01:00
parent daec4c70b8
commit 10edfa65dc
4 changed files with 67 additions and 23 deletions

View File

@@ -592,6 +592,8 @@ class TestMetafuncFunctional:
def test_it(foo):
pass
def test_it2(foo):
pass
""")
reprec = testdir.inline_run("--collect-only")
assert not reprec.getcalls("pytest_internalerror")