void () { // PY-6360 doTest(""" q = query.Nested(query.Term("type", "class"),<caret> def bar(): print('hello')""", """ q = query.Nested(query.Term("type", "class"), <caret> def bar(): print('hello')"""); }