aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorGravatar Numerlor <[email protected]>2022-06-21 19:20:03 +0200
committerGravatar Numerlor <[email protected]>2022-06-21 19:28:18 +0200
commit805c60437e50e2153d61e484872b207affd8db1f (patch)
tree9eef1367dc70336516dd093c26c1697557d65911 /tests
parentgeneralize handling of fully hashable args, and args with non-hashable parts (diff)
stop cleanup task when manager is destroyed
Diffstat (limited to 'tests')
-rw-r--r--tests/botcore/utils/test_cooldown.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/botcore/utils/test_cooldown.py b/tests/botcore/utils/test_cooldown.py
index e7fe0f59..87c433ce 100644
--- a/tests/botcore/utils/test_cooldown.py
+++ b/tests/botcore/utils/test_cooldown.py
@@ -1,10 +1,11 @@
import unittest
+from collections.abc import Iterable
from unittest.mock import patch
-from botcore.utils.cooldown import _ArgsTuple, _CommandCooldownManager
+from botcore.utils.cooldown import _CommandCooldownManager
-def create_argument_tuple(*args, **kwargs) -> _ArgsTuple:
+def create_argument_tuple(*args, **kwargs) -> Iterable[object]:
return (*args, *kwargs.items())