]> granicus.if.org Git - python/commit
bpo-29922: Add more tests for error messages in 'async with'. (GH-6370)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 4 Apr 2018 17:18:56 +0000 (10:18 -0700)
committerGitHub <noreply@github.com>
Wed, 4 Apr 2018 17:18:56 +0000 (10:18 -0700)
commit1487cd14bb1e04de5b98fffc5ec41c6cf6b5d5f1
tree732f8f6c36e65497e5e7563ea9af4bc5c676c3c8
parent4fd6c27dc8ba7ca97aa70e1ab98729f2207bbe19
bpo-29922: Add more tests for error messages in 'async with'. (GH-6370)

Different paths are executed for normal exit and for leaving
the 'async with' block with 'break', 'continue' or 'return'.
(cherry picked from commit 2eeac269dd1e04a2a179384576986c3e47895ee0)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Lib/test/test_coroutines.py