Skip to content

Commit 102f495

Browse files
authored
Merge pull request #19 from jspricke/mock
Switch to unittest mock
2 parents 12cdaa1 + c7a4d54 commit 102f495

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

.github/workflows/python-package.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
- name: Install dependencies
2727
run: |
2828
python -m pip install --upgrade pip
29-
pip install flake8 pytest mock
29+
pip install flake8 pytest
3030
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
3131
- name: Lint with flake8
3232
run: |

setup.cfg

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ test =
3232
pytest
3333
pytest-cov
3434
coverage
35-
mock
3635

3736
[options.packages.find]
3837
exclude =

test/test_plugin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
from pylsp.workspace import Workspace, Document
44
from pylsp.config.config import Config
55
from pylsp import uris
6-
from mock import Mock
6+
from unittest.mock import Mock
77
from pylsp_mypy import plugin
88

99
DOC_URI = __file__

0 commit comments

Comments
 (0)