Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def custom_name_func(testcase_func, param_num, param):
return '%s_%s' % (
testcase_func.__name__,
parameterized.to_safe_name('_'.join(str(x) for x in param.args)),
)
def custom_name_func(testcase_func, param_num, param):
return '%s_%s' % (
testcase_func.__name__,
parameterized.to_safe_name('_'.join(str(x) for x in param.args)),
)