aboutsummaryrefslogtreecommitdiffstats
path: root/tests/helpers.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/helpers.py')
-rw-r--r--tests/helpers.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/helpers.py b/tests/helpers.py
index 7ae7ed621..8e13f0f28 100644
--- a/tests/helpers.py
+++ b/tests/helpers.py
@@ -261,9 +261,7 @@ class MockAPIClient(CustomMockMixin, unittest.mock.MagicMock):
Instances of this class will follow the specifications of `bot.api.APIClient` instances.
For more information, see the `MockGuild` docstring.
"""
-
- def __init__(self, **kwargs) -> None:
- super().__init__(spec_set=APIClient, **kwargs)
+ spec_set = APIClient
# Create a Bot instance to get a realistic MagicMock of `discord.ext.commands.Bot`