Skip to content

Commit f77a1a6

Browse files
committed
chore: use unittest.mock from standard library
1 parent 5e2b9c1 commit f77a1a6

3 files changed

Lines changed: 1 addition & 3 deletions

File tree

docs/requirements.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ markdown==3.2.2
2323
markupsafe==1.1.1
2424
mkautodoc==0.1.0
2525
mkdocs==1.2.3
26-
mock==4.0.1
2726
more-itertools==8.2.0
2827
mypy==0.761
2928
mypy-extensions==0.4.3

pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ black = "^23.0.0"
2525
fastapi = "^0.89.0"
2626
lxml = "^4.9.1"
2727
starlette = "^0.22.0"
28-
mock = "^4.0.1"
2928
hiro = "^0.5.1"
3029
requests = "^2.22.0"
3130
pytest = "~=6.2.5"

tests/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import asyncio
22
import logging
3+
from unittest.mock import mock # type: ignore
34

45
import pytest
56
from fastapi import FastAPI
6-
from mock import mock # type: ignore
77
from starlette.applications import Starlette
88
from starlette.requests import Request
99

0 commit comments

Comments
 (0)