diff options
author | Pierre Sassoulas <pierre.sassoulas@gmail.com> | 2021-03-09 20:32:19 +0100 |
---|---|---|
committer | Pierre Sassoulas <pierre.sassoulas@gmail.com> | 2021-03-14 19:48:30 +0100 |
commit | d361b80acb0b4ba07c9586840847f8c3ac668568 (patch) | |
tree | 5693b6d7a9e4ca992e2318046c880b30db5bad9e /tests/functional/r/regression/regression___file___global.py | |
parent | 55a1991d8a694bd70e38bd49bc8d69075660ee64 (diff) | |
download | pylint-d361b80acb0b4ba07c9586840847f8c3ac668568.tar.gz |
Migrate nonregr___file___global.py to new functional tests
Diffstat (limited to 'tests/functional/r/regression/regression___file___global.py')
-rw-r--r-- | tests/functional/r/regression/regression___file___global.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/functional/r/regression/regression___file___global.py b/tests/functional/r/regression/regression___file___global.py new file mode 100644 index 000000000..9ad2eed02 --- /dev/null +++ b/tests/functional/r/regression/regression___file___global.py @@ -0,0 +1,8 @@ +"""test no crash on __file__ global""" + +def func(): + """override __file__""" + global __file__ # [global-statement, redefined-builtin] + __file__ = 'hop' + +__revision__ = 'pouet' |