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
+
1
7
asyncclick (1:8.0.3-5) unstable; urgency=medium
2
8
3
9
* enter_context => with_resource
Original file line number Diff line number Diff line change @@ -218,7 +218,7 @@ def cli():
218
218
ctx = click .Context (cli )
219
219
220
220
async with ctx .scope ():
221
- rv = await ctx .enter_async_context (manager ())
221
+ rv = await ctx .with_async_resource (manager ())
222
222
assert rv [0 ] == 1 , rv
223
223
224
224
# Internal
@@ -242,7 +242,7 @@ def cli():
242
242
ctx = click .Context (cli )
243
243
244
244
async with ctx .scope ():
245
- rv = ctx .enter_context (manager ())
245
+ rv = ctx .with_resource (manager ())
246
246
assert rv [0 ] == 1 , rv
247
247
248
248
# Internal
You can’t perform that action at this time.
0 commit comments