def test_displayTracebacksNotGiven(self):
        """
        Not passing --display-tracebacks will leave traceback rendering on the
        generated Site off.
        """
        options = Options()
        options.parseOptions([])
        service = makeService(options)
        self.assertFalse(service.services[0].factory.displayTracebacks)

        Not passing --display-tracebacks will leave traceback rendering on the
        generated Site off.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/web/test/test_tap.py