Visitar URL original
[3.11] bpo-45046: Support context managers in unittest (GH-28045) by miss-islington · Pull Request #92479 · python/cpython · GitHub
The Wayback Machine - https://web.archive.org/web/20221223173004/https://github.com/python/cpython/pull/92479
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[3.11] bpo-45046: Support context managers in unittest (GH-28045) #92479

Merged
merged 1 commit into from May 8, 2022

Conversation

miss-islington
Copy link
Contributor

@miss-islington miss-islington commented May 8, 2022 •

Add methods enterContext() and enterClassContext() in TestCase.
Add method enterAsyncContext() in IsolatedAsyncioTestCase.
Add function enterModuleContext().
(cherry picked from commit 086c6b1)

Co-authored-by: Serhiy Storchaka storchaka@gmail.com

Automerge-Triggered-By: GH:serhiy-storchaka

Add methods enterContext() and enterClassContext() in TestCase.
Add method enterAsyncContext() in IsolatedAsyncioTestCase.
Add function enterModuleContext().
(cherry picked from commit 086c6b1)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
@miss-islington miss-islington requested review from a team, pablogsal, lysnikolaou and vsajip as code owners May 8, 2022
@miss-islington
Copy link
Contributor Author

miss-islington commented May 8, 2022

@serhiy-storchaka: Status check is done, and it's a success ✅ .

@serhiy-storchaka serhiy-storchaka added the 🤖 automerge PR will be merged once it's been approved and all CI passed label May 8, 2022
@miss-islington
Copy link
Contributor Author

miss-islington commented May 8, 2022

@serhiy-storchaka: Status check is done, and it's a success ✅ .

@miss-islington miss-islington merged commit c63c8ac into python:3.11 May 8, 2022
15 checks passed
@miss-islington miss-islington deleted the backport-086c6b1-3.11 branch May 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🤖 automerge PR will be merged once it's been approved and all CI passed type-feature A feature request or enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants