def _multipleInterfacesForClassOrInterface(self, original):
        """
        Verify that an adapter can be registered for multiple to-interfaces at a
        time.
        """
        adapter = lambda o: None
        components.registerAdapter(adapter, original, ITest, ITest2)
        self.assertIs(
            components.getAdapterFactory(original, ITest, None), adapter)
        self.assertIs(
            components.getAdapterFactory(original, ITest2, None), adapter)

        Verify that an adapter can be registered for multiple to-interfaces at a
        time.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/python/test/test_components.py