def test_namedAnyAttributeLookup(self):
        """
        L{namedAny} should return the object an attribute of a non-module,
        non-package object is bound to for the name it is passed.
        """
        # Note - not assertIs because unbound method lookup creates a new
        # object every time.  This is a foolishness of Python's object
        # implementation, not a bug in Twisted.
        self.assertEqual(
            reflect.namedAny(
                "twisted.test.test_reflect.Summer.reallySet"),
            Summer.reallySet)

        L{namedAny} should return the object an attribute of a non-module,
        non-package object is bound to for the name it is passed.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/test/test_reflect.py