def test_definedRenderer(self):
        class ElementWithRenderMethod(Element):
            def foo(self, request, tag):
                return "bar"
            renderer(foo)
        foo = ElementWithRenderMethod().renderer("foo")
        self.assertEqual(foo(None, None), "bar")
We just received a PDU
dataset/ETHPy150Open twisted/nevow/nevow/test/test_element.py/ElementTests.test_definedRenderer--crossover with--dataset/ETHPy150Open matrix-org/synapse/contrib/experiments/test_messaging.py/HomeServer.on_receive_pdu