def test_asyncErrorBlockingCallFromThread(self):
        def reactorFunc():
            d = defer.Deferred()
            reactor.callLater(0.1, d.errback, RuntimeError("spam"))
            return d
        def cb(res):
            self.assert_(isinstance(res[1][0], RuntimeError))
            self.assertEqual(res[1][0].args[0], "spam")

        return self._testBlockingCallFromThread(reactorFunc).addCallback(cb)
Test error report for blockingCallFromThread as above, but be sure the
dataset/ETHPy150Open twisted/twisted/twisted/test/test_threads.py/ReactorThreadsTests.test_asyncErrorBlockingCallFromThread