def ddt_named(parent, child):
 args = RenamedTuple([parent, child])
 args.__name__ = 'parent_{}_child_{}'.format(parent, child)
 return args

def ddt_named ( parent , child ) : args = RenamedTuple ( [ parent , child ] ) args . __name__ = 'parent_{}_child_{}' . format ( parent , child ) return args
helper to get more readable dynamically-generated test names from ddt .