diff options
Diffstat (limited to 'pylint/test/input/func_nonregr___file___global.py')
-rw-r--r-- | pylint/test/input/func_nonregr___file___global.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/pylint/test/input/func_nonregr___file___global.py b/pylint/test/input/func_nonregr___file___global.py new file mode 100644 index 0000000..910033c --- /dev/null +++ b/pylint/test/input/func_nonregr___file___global.py @@ -0,0 +1,8 @@ +"""test no crash on __file__ global""" + +def func(): + """override __file__""" + global __file__ + __file__ = 'hop' + +__revision__ = 'pouet' |