def test_run_in_reactor_thread(self):
        myreactor = FakeReactor()
        c = EventLoop(lambda: myreactor, lambda f, g: None)
        c.no_setup()
        calls = []

        @c.run_in_reactor
        def func(a, b, c):
            self.assertTrue(myreactor.in_call_from_thread)
            calls.append((a, b, c))

        func(1, 2, c=3)
        self.assertEqual(calls, [(1, 2, 3)])
@lazyprop decorator. Decorated method will be called only on first access
dataset/ETHPy150Open itamarst/crochet/crochet/tests/test_api.py/RunInReactorTests.test_run_in_reactor_thread--crossover with--dataset/ETHPy150Open scanny/python-pptx/pptx/util.py/lazyproperty