def test_class_or_function_idval(self) -> None:
        """Unit test for the expected behavior to obtain ids for parametrized
        values that are classes or functions: their __name__."""

        class TestClass:
            pass

        def test_function():
            pass

        values = [(TestClass, "TestClass"), (test_function, "test_function")]
        for val, expected in values:
            assert (
                IdMaker([], [], None, None, None, None, None)._idval(val, "a", 6)
                == expected
            )
Unit test for the expected behavior to obtain ids for parametrized
        values that are classes or functions: their __name__.
testing/python/metafunc.py