def _runAndReturnWorkDir(self, cleanWorkDir, job, expectError=False):
        options = Job.Runner.getDefaultOptions(self._getTestJobStorePath())
        options.workDir = self.testDir
        options.clean = "always"
        options.cleanWorkDir = cleanWorkDir
        A = Job.wrapJobFn(job)
        if expectError:
            self._launchError(A, options)
        else:
            self._launchRegular(A, options)
        return os.listdir(self.testDir)
Construct a contrast matrix C so that
dataset/ETHPy150Open BD2KGenomics/toil/src/toil/test/src/retainTempDirTest.py/CleanWorkDirTest._runAndReturnWorkDir--crossover with--dataset/ETHPy150Open statsmodels/statsmodels/statsmodels/stats/contrast.py/Contrast.compute_matrix