def test_coverdirOverridden(self):
        """
        If a value is specified for the I{temp-directory} option,
        L{trial.Options.coverdir} returns a child of that path.
        """
        path = self.mktemp()
        options = trial.Options()
        options.parseOptions(["--temp-directory", path])
        self.assertEqual(
            options.coverdir(), FilePath(path).child("coverage"))

        If a value is specified for the I{temp-directory} option,
        L{trial.Options.coverdir} returns a child of that path.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/trial/test/test_script.py