Skip to content

Commit d0e5b8a

Browse files
committed
Fix a test with asyncio
1 parent 2694668 commit d0e5b8a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/web/test_web_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,5 +221,5 @@ def test_timeout_issue_712(self):
221221
@async_test
222222
async def test_timeout_issue_712_async(self):
223223
client = WebClient(base_url="http://localhost:8888", timeout=1, run_async=True)
224-
with self.assertRaises(asyncio.exceptions.TimeoutError):
224+
with self.assertRaises(asyncio.TimeoutError):
225225
await client.users_list(token="xoxb-timeout")

0 commit comments

Comments
 (0)