PY-6637 Add test cases on detection of nonlocal references inside escalated function
[idea/community.git] / python / testData / refactoring / convertTopLevel / nonlocalReferenceToOuterScope.py
1 def func():
2     x = True
3     def loc<caret>al():
4         def nested():
5             nonlocal x
6             x = False
7