Fix warning about asyncio marker (#1078)

This commit is contained in:
Dmitry Anfimov 2022-12-31 02:48:53 +06:00 committed by GitHub
parent 491c2ca677
commit 64eb41db96
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 1 additions and 24 deletions

View file

@ -1,10 +1,7 @@
import pytest
from aiogram import Bot, types
from .dataset import CHAT, FULL_CHAT
from .. import FakeTelegram
pytestmark = pytest.mark.asyncio
chat = types.Chat(**CHAT)

View file

@ -14,8 +14,6 @@ from aiogram.utils.json import json
from tests import TOKEN
from tests.types.dataset import FILE
pytestmark = pytest.mark.asyncio
@pytest_asyncio.fixture(name='bot')
async def bot_fixture():