summaryrefslogtreecommitdiff
path: root/pylint/test/functional/exec_used_py2.py
blob: 8f7f07d903ee6b8e80a5d2451d4dbb177b8a233f (plain)
1
2
3
4
5
6
7
8
9
10
# pylint: disable=missing-docstring

exec 'a = __revision__' # [exec-used]
VALUES = {}
exec 'a = 1' in VALUES # [exec-used]

exec 'a = 1' in globals() # [exec-used]

def func():
    exec 'b = 1' # [exec-used]