diff options
Diffstat (limited to 'pylint/test/input/func_return_yield_mix_py_33.py')
-rw-r--r-- | pylint/test/input/func_return_yield_mix_py_33.py | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/pylint/test/input/func_return_yield_mix_py_33.py b/pylint/test/input/func_return_yield_mix_py_33.py deleted file mode 100644 index b120b80ac..000000000 --- a/pylint/test/input/func_return_yield_mix_py_33.py +++ /dev/null @@ -1,15 +0,0 @@ -"""pylint should detect yield and return mix inside generators""" -# pylint: disable=using-constant-test, inconsistent-return-statements -def somegen(): - """this is a bad generator""" - if True: - return 1 - else: - yield 2 - -def moregen(): - """this is another bad generator""" - if True: - yield 1 - else: - return 2 |