def test_registry(self):
        myreactor = FakeReactor()
        c = EventLoop(lambda: myreactor, lambda f, g: None)
        c.no_setup()

        @c.run_in_reactor
        def run():
            return

        result = run()
        self.assertIn(result, c._registry._results)
@run_in_reactor registers the EventualResult in the ResultRegistry.
dataset/ETHPy150Open itamarst/crochet/crochet/tests/test_api.py/RunInReactorTests.test_registry