def test1(): def test2(): print('in test2') test2() test1()