human
I wrote the below code

    def _extract_ids(t):
        if isinstance(t, TestSuite):
            result = pset()
            for sub_tests in t:
                result = (result | _extract_ids(sub_tests))
            return result
        else:
            return pset([t.id()])
    loader = TestLoader()
    tests = loader.loadByName(python_name, recurse=True)
    return _extract_ids(tests)

What's a good function header?

=====
Here's a good function header?
assistant
#Here's a good function header.

def get_tests_for(python_name):