def setUp(self):
        try:
            djangorunner.DjangoRunner()
        except __HOLE__:
            raise unittest.SkipTest("Django is not installed")
        saved_stdout = sys.stdout
        self.stream = StringIO()
        sys.stdout = self.stream
        self.addCleanup(setattr, sys, 'stdout', saved_stdout)
dataset/ETHPy150Open CleanCut/green/green/test/test_djangorunner.py/TestDjangoRunner.setUp