def autohide(obj):
<EOL>for name, item in six.iteritems(vars(obj)):<EOL><INDENT>if callable(item) and name in ('<STR_LIT>', '<STR_LIT>'):<EOL><INDENT>item = hide(item)<EOL><DEDENT><DEDENT>for name, subclass in class_members(obj):<EOL><INDENT>autohide(subclass)<EOL><DEDENT>
Automatically hide setup() and teardown() methods, recursively.