Skip to content

Commit ef0ed1a

Browse files
committed
chore: remove unused mock library
1 parent 536f6bc commit ef0ed1a

4 files changed

Lines changed: 2 additions & 33 deletions

File tree

poetry.lock

Lines changed: 0 additions & 29 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,13 +74,11 @@ dev = [
7474
"black>=22.6.0",
7575
# type check
7676
"mypy>=1",
77-
"types-mock>=4.0.15",
7877
"types-tzlocal>=5.0.1.1",
7978
# test
8079
"pytest>=7.1.2",
8180
"pytest-cov>=3.0.0",
8281
"coverage>=6.4.2",
83-
"mock>=4.0.3",
8482
"pytest-xdist[psutil]>=2.5.0",
8583
"tox>=4.6.4",
8684
"freezegun>=1.2.2",

tests/middlewares/test_simple_retry.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import uuid
2+
from unittest.mock import AsyncMock
23

34
import pytest
4-
from mock import AsyncMock
55

66
from taskiq.formatters.json_formatter import JSONFormatter
77
from taskiq.message import TaskiqMessage

tests/test_funcs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
from typing import Any
2+
from unittest.mock import AsyncMock
23

34
import pytest
4-
from mock import AsyncMock
55

66
from taskiq.exceptions import ResultIsReadyError, TaskiqResultTimeoutError
77
from taskiq.funcs import gather

0 commit comments

Comments
 (0)