Skip to content

Commit b6dfc2d

Browse files
authored
Use unittest.mock from standard library (#222)
1 parent 8f72a81 commit b6dfc2d

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

pyproject.toml

-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ beautifulsoup4 = "^4.11.1"
2020

2121
[tool.poetry.group.dev.dependencies]
2222
lxml = "^4.9.2"
23-
mock = "^5.0.1"
2423
pytest = "^7.2.1"
2524
black = "^23.3.0"
2625
isort = "^5.12.0"

test/test_parser.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
import re
33
import sys
44
from unittest import TestCase
5+
from unittest import mock
56

67
import bs4
7-
import mock
88
from bs4 import BeautifulSoup
99

1010
from mf2py import Parser

0 commit comments

Comments
 (0)