def setUp(self):
        """
        Create a L{trial.Options} object to be used in the tests, and save
        C{sys.modules}.
        """
        self.config = trial.Options()
        self.savedModules = dict(sys.modules)

        Create a L{trial.Options} object to be used in the tests, and save
        C{sys.modules}.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/trial/test/test_script.py