def setUp(self):
        self.tapfile = self.mktemp()
        with open(self.tapfile, 'wb') as f:
            pickle.dump(service.Application("Hi!"), f)
As url() in Django.
dataset/ETHPy150Open twisted/twisted/twisted/test/test_twistd.py/TapFileTests.setUp--crossover with--dataset/ETHPy150Open mjtamlyn/django-cbvpatterns/cbvpatterns.py/url