8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b60a931 commit 34cfc75Copy full SHA for 34cfc75
Lib/test/test_asyncio/test_locks.py
@@ -1305,7 +1305,7 @@ async def coro_reset():
1305
async def test_reset_barrier_when_tasks_half_draining(self):
1306
barrier = asyncio.Barrier(self.N)
1307
results1 = []
1308
- rest_of_tasks = self.N//2
+ rest_of_tasks = self.N//2
1309
1310
async def coro():
1311
try:
@@ -1318,7 +1318,7 @@ async def coro():
1318
if rest_of_tasks == barrier._count:
1319
# tasks outside the barrier
1320
await barrier.reset()
1321
-
+
1322
await self.gather_tasks(self.N, coro)
1323
1324
self.assertEqual(results1, [True]*rest_of_tasks)
0 commit comments