aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorGravatar Shirayuki Nekomata <[email protected]>2020-04-23 19:08:15 +0700
committerGravatar GitHub <[email protected]>2020-04-23 19:08:15 +0700
commit4abe5d708999031ec2a8c2689a6dcd898caee700 (patch)
treeb021c223d18e564d0c7018cfc300b9417441b8d1 /tests
parentFree tag: fix typo in header (diff)
parentMerge pull request #900 from python-discord/fix-category-cache-issue (diff)
Merge branch 'master' into free-tag
Diffstat (limited to 'tests')
-rw-r--r--tests/bot/cogs/sync/test_base.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/bot/cogs/sync/test_base.py b/tests/bot/cogs/sync/test_base.py
index 6ee9dfda6..70aea2bab 100644
--- a/tests/bot/cogs/sync/test_base.py
+++ b/tests/bot/cogs/sync/test_base.py
@@ -1,3 +1,4 @@
+import asyncio
import unittest
from unittest import mock
@@ -211,7 +212,7 @@ class SyncerConfirmationTests(unittest.IsolatedAsyncioTestCase):
subtests = (
(constants.Emojis.check_mark, True, None),
("InVaLiD", False, None),
- (None, False, TimeoutError),
+ (None, False, asyncio.TimeoutError),
)
for emoji, ret_val, side_effect in subtests: