aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorGravatar kwzrd <[email protected]>2020-04-17 13:07:33 +0100
committerGravatar GitHub <[email protected]>2020-04-17 13:07:33 +0100
commit80fd8e139bcfad01fd4a3c8cbd5abfee9b2a735a (patch)
tree63738db5332eb75d447b8a3238b78ff301620389 /tests
parentRemove `.md` from anti-malware whitelist (diff)
parentMerge branch 'master' into syncer-timeout-fix (diff)
Merge pull request #874 from ks129/syncer-timeout-fix
Fix wrong exception type in syncing
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: