diff options
author | Yury Selivanov <yselivanov@sprymix.com> | 2015-07-23 06:10:44 (GMT) |
---|---|---|
committer | Yury Selivanov <yselivanov@sprymix.com> | 2015-07-23 06:10:44 (GMT) |
commit | f315c1c01676bfabb5b1c6628642668f1ef436a6 (patch) | |
tree | 078327f0ab7ab7c2a7ac347d9cb4669e98a6d201 /Lib/test/test_coroutines.py | |
parent | 2f07a66dedb6f69cbe601f7ca2c3fca66898ffe3 (diff) | |
download | cpython-f315c1c01676bfabb5b1c6628642668f1ef436a6.zip cpython-f315c1c01676bfabb5b1c6628642668f1ef436a6.tar.gz cpython-f315c1c01676bfabb5b1c6628642668f1ef436a6.tar.bz2 |
Issue #24687: Plug refleak on SyntaxError in function parameters annotations.
Diffstat (limited to 'Lib/test/test_coroutines.py')
-rw-r--r-- | Lib/test/test_coroutines.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Lib/test/test_coroutines.py b/Lib/test/test_coroutines.py index 94994e5..14682ca 100644 --- a/Lib/test/test_coroutines.py +++ b/Lib/test/test_coroutines.py @@ -211,6 +211,10 @@ class AsyncBadSyntaxTest(unittest.TestCase): pass """, + """async def foo(a:await b): + pass + """, + """def baz(): async def foo(a=await b): pass |