Skip to content

bpo-29922: Add more tests for error messages in 'async with'.#6370

Merged
serhiy-storchaka merged 1 commit into
python:masterfrom
serhiy-storchaka:async-with-more-tests
Apr 4, 2018
Merged

bpo-29922: Add more tests for error messages in 'async with'.#6370
serhiy-storchaka merged 1 commit into
python:masterfrom
serhiy-storchaka:async-with-more-tests

Conversation

@serhiy-storchaka
Copy link
Copy Markdown
Member

@serhiy-storchaka serhiy-storchaka commented Apr 4, 2018

Different paths are executed for normal exit and for leaving the 'async with' block with 'break', 'continue' or 'return'.

https://bugs.python.org/issue29922

Different paths are executed for normal exit and for leaving
the 'async with' block with 'break', 'continue' or 'return'.
@miss-islington
Copy link
Copy Markdown
Contributor

Thanks @serhiy-storchaka for the PR 🌮🎉.. I'm working now to backport this PR to: 3.7.
🐍🍒⛏🤖

@serhiy-storchaka serhiy-storchaka deleted the async-with-more-tests branch April 4, 2018 15:45
@bedevere-bot
Copy link
Copy Markdown

GH-6371 is a backport of this pull request to the 3.7 branch.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Apr 4, 2018
…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 2eeac26)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
miss-islington added a commit that referenced this pull request Apr 4, 2018
Different paths are executed for normal exit and for leaving
the 'async with' block with 'break', 'continue' or 'return'.
(cherry picked from commit 2eeac26)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
@miss-islington
Copy link
Copy Markdown
Contributor

Thanks @serhiy-storchaka for the PR 🌮🎉.. I'm working now to backport this PR to: 3.6.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Apr 4, 2018
…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 2eeac26)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
@bedevere-bot
Copy link
Copy Markdown

GH-6373 is a backport of this pull request to the 3.6 branch.

miss-islington added a commit that referenced this pull request Apr 4, 2018
Different paths are executed for normal exit and for leaving
the 'async with' block with 'break', 'continue' or 'return'.
(cherry picked from commit 2eeac26)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip news tests Tests in the Lib/test dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants