Skip to content
Snippets Groups Projects
Unverified Commit 086c6b1b authored by Serhiy Storchaka's avatar Serhiy Storchaka Committed by GitHub
Browse files

bpo-45046: Support context managers in unittest (GH-28045)

Add methods enterContext() and enterClassContext() in TestCase.
Add method enterAsyncContext() in IsolatedAsyncioTestCase.
Add function enterModuleContext().
parent 8f293180
No related branches found
No related tags found
No related merge requests found
Showing
with 82 additions and 90 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment