def test_getLogObserverStdoutDaemon(self):
        logger = UnixAppLogger({"logfile": "-", "nodaemon": False})
        error = self.assertRaises(SystemExit, logger._getLogObserver)
        self.assertEquals(str(error), "Daemons cannot log to stdout, exiting!")
Wrap a call with a profiler
dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/test/test_twistd.py/UnixAppLoggerTestCase.test_getLogObserverStdoutDaemon--crossover with--dataset/ETHPy150Open cloudera/hue/desktop/core/src/desktop/manage_entry.py/_profile