File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed
Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 1+ asyncclick (1:8.0.3-6) unstable; urgency=medium
2+
3+ * fix test
4+
5+ -- Matthias Urlichs <
[email protected] > Sat, 15 Jan 2022 22:22:34 +0100
6+
17asyncclick (1:8.0.3-5) unstable; urgency=medium
28
39 * enter_context => with_resource
Original file line number Diff line number Diff line change @@ -218,7 +218,7 @@ def cli():
218218 ctx = click .Context (cli )
219219
220220 async with ctx .scope ():
221- rv = await ctx .enter_async_context (manager ())
221+ rv = await ctx .with_async_resource (manager ())
222222 assert rv [0 ] == 1 , rv
223223
224224 # Internal
@@ -242,7 +242,7 @@ def cli():
242242 ctx = click .Context (cli )
243243
244244 async with ctx .scope ():
245- rv = ctx .enter_context (manager ())
245+ rv = ctx .with_resource (manager ())
246246 assert rv [0 ] == 1 , rv
247247
248248 # Internal
You can’t perform that action at this time.
0 commit comments