def close(self):
try:<EOL><INDENT>self.dut.close()<EOL><DEDENT>except Exception:<EOL><INDENT>logging.warning('<STR_LIT>')<EOL><DEDENT>else:<EOL><INDENT>logging.debug('<STR_LIT>')<EOL><DEDENT>
Releasing hardware resources.