Skip to content

Commit f7bc6ee

Browse files
committed
Fix flake
1 parent 3670b35 commit f7bc6ee

3 files changed

Lines changed: 3 additions & 5 deletions

File tree

tests/conftest.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
from pathlib import Path
2-
from typing import Coroutine, AsyncGenerator
2+
from typing import AsyncGenerator
33

44
import pytest_asyncio
55
import discord
66
import discord.ext.commands as commands
77
import discord.ext.test as dpytest
8-
from pytest import FixtureRequest, Session
8+
from pytest import FixtureRequest
99
from discord.client import _LoopSentinel
1010

1111

tests/test_configure.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ async def test_configure_members(bot: discord.Client) -> None:
8686

8787
# we can even use discord.utils.get
8888
william_member = discord.utils.get(guild.members, name='William')
89-
assert william_member is not None
89+
assert william_member is not None
9090
assert william_member.name == "William"
9191

9292

tests/test_message.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
from datetime import timedelta
21
import discord
32
import pytest
43
import discord.ext.test as dpytest
@@ -38,4 +37,3 @@ async def test_message_poll(bot: discord.Client) -> None:
3837
message = dpytest.get_message()
3938
assert message.content == "Poll test"
4039
assert message.poll is not None
41-

0 commit comments

Comments
 (0)