<s> import pytest <EOL> @ pytest . fixture ( scope = "<STR_LIT>" ) <EOL> def auto_test ( mod ) : <EOL> result_names = [ name for name in dir ( mod ) if name . startswith ( '<STR_LIT>' ) ] <EOL> func_names = [ name . split ( '<STR_LIT:_>' , <NUM_LIT:1> ) [ <NUM_LIT:1> ] for name in result_names ] <EOL> results = ( getattr ( mod , name ) for name in result_names ) <EOL> funcs = ( getattr ( mod , name ) for name in func_names ) <EOL> return zip ( funcs , results ) </s>
