def test_loadTimeErrors(self):
        test = runner.TestLoader().loadByName('doesntexist')
        test.run(self.result)
        output = self.stream.getvalue()
        # Just check that 'doesntexist' is in the output, rather than
        # assembling the expected stack trace.
        self.assertIn(b'doesntexist', output)
Set the global adaptation manager to the given instance.
dataset/ETHPy150Open twisted/twisted/twisted/trial/test/test_reporter.py/SubunitReporterTests.test_loadTimeErrors--crossover with--dataset/ETHPy150Open enthought/traits/traits/adaptation/adaptation_manager.py/set_global_adaptation_manager