def setUp(self):
        """
        Create a trivial Application and put it in a tap file on disk.
        """
        self.tapfile = self.mktemp()
        with open(self.tapfile, 'wb') as f:
            pickle.dump(service.Application("Hi!"), f)

        Create a trivial Application and put it in a tap file on disk.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/test/test_twistd.py