aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorGravatar ks129 <[email protected]>2020-04-09 14:45:32 +0300
committerGravatar GitHub <[email protected]>2020-04-09 14:45:32 +0300
commit7434ed3152e6d3f89babe2fef332983925d04434 (patch)
tree416007bd2a5088b8e10c2a39a17ae7d25ab1080b /tests
parent(Syncers): Fixed wrong except statement (diff)
(Syncer Tests): Replaced wrong side effect
Replaced `TimeoutError` with `asyncio.TimeoutError`.
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: