class TestOne(): x = lambda self: TestTwo() # class TestTwo(): pass