Skip to content

Commit b586e3c

Browse files
committed
Make test_pool_03 faster
1 parent 9dc1c16 commit b586e3c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_pool.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ async def test_pool_03(self):
5757

5858
con = await pool.acquire(timeout=1)
5959
with self.assertRaises(asyncio.TimeoutError):
60-
await pool.acquire(timeout=1)
60+
await pool.acquire(timeout=0.03)
6161

6262
pool.terminate()
6363
del con

0 commit comments

Comments
 (0)