def test_custom_name():
    """The resulting type should have a custom name is one is specified"""
    custom_name = "SuperQuery"
    ComboQuery = merge_types(custom_name, (ComplexGreeter, Person))
    assert ComboQuery.__name__ == custom_name
The resulting type should have a custom name is one is specified
tests/tools/test_merge_types.py