def test_displayTracebacks(self):
        """
        Passing --display-tracebacks will enable traceback rendering on the
        generated Site.
        """
        options = Options()
        options.parseOptions(["--display-tracebacks"])
        service = makeService(options)
        self.assertTrue(service.services[0].factory.displayTracebacks)

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