def test_outputWithErrorCollected(self):
        scriptFile = self.makeSourceFile([
            'import sys',
            # Write the same value to both because ordering isn't guaranteed so
            # this simplifies the test.
            'sys.stdout.write("foo")',
            'sys.stdout.flush()',
            'sys.stderr.write("foo")',
            'sys.stderr.flush()'])

        d = utils.getProcessOutput(self.exe, ['-u', scriptFile], errortoo=True)
        return d.addCallback(self.assertEqual, "foofoo")
Interpolate the opacity to absorption to a given wavelength
dataset/ETHPy150Open twisted/twisted/twisted/test/test_iutils.py/ProcessUtilsTests.test_outputWithErrorCollected--crossover with--dataset/ETHPy150Open hyperion-rt/hyperion/hyperion/dust/optical_properties.py/OpticalProperties.interp_kappa_nu