def makeTempFile(self, content):
        _, fpath = tempfile.mkstemp()
        if not hasattr(content, 'decode'):
            content = content.encode('ascii')
        fd = open(fpath, 'wb')
        fd.write(content)
        fd.close()
        return fpath
Get the status widget for the item.
dataset/ETHPy150Open patrys/PythonChecker/pyflakes/test/test_api.py/CheckTests.makeTempFile--crossover with--dataset/ETHPy150Open ContinuumIO/ashiba/enaml/enaml/widgets/status_item.py/StatusItem.status_widget