diff --git a/testing/python/metafunc.py b/testing/python/metafunc.py index 9ef95dd6bc7..0ed9f56bfee 100644 --- a/testing/python/metafunc.py +++ b/testing/python/metafunc.py @@ -240,8 +240,13 @@ def test_class_or_function_idval(self): values that are classes or functions: their __name__. """ from _pytest.python import _idval - class TestClass: pass - def test_function(): pass + + class TestClass: + pass + + def test_function(): + pass + values = [ (TestClass, "TestClass"), (test_function, "test_function"),