diff options
Diffstat (limited to 'tests/functional/y/yield_return_mix.py')
-rw-r--r-- | tests/functional/y/yield_return_mix.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/functional/y/yield_return_mix.py b/tests/functional/y/yield_return_mix.py new file mode 100644 index 000000000..8e050f0f0 --- /dev/null +++ b/tests/functional/y/yield_return_mix.py @@ -0,0 +1,8 @@ +""" module doc """ +# pylint: disable=useless-return +__revision__ = None + +def somegen(): + """this kind of mix is OK""" + yield 1 + return |