Skip to content

Commit

Permalink
Drop mock dependency
Browse files Browse the repository at this point in the history
Part of the tests already use unittest.mock so switch the last mock
module user over and drop the mock test dependency.
  • Loading branch information
jelly authored and tombh committed May 2, 2023
1 parent b66b069 commit fad812a
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 1 addition & 0 deletions CONTRIBUTORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
- [Dillan Mills](https://github.com/DillanCMills)
- [Felicián Németh](https://github.com/nemethf)
- [Felix Yan](https://github.com/felixonmars)
- [Jelle van der Waa](https://github.com/jelly)
- [Jérome Perrin](https://github.com/perrinjerome)
- [Karthik Nadig](https://github.com/karthiknadig)
- [Laurence Warne](https://github.com/LaurenceWarne)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
import time

import pytest
from mock import Mock
from unittest.mock import Mock
from lsprotocol.types import (DidCloseTextDocumentParams,
DidOpenTextDocumentParams, TextDocumentIdentifier,
WorkspaceConfigurationResponse,
Expand Down
2 changes: 0 additions & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ install_requires =
typeguard>=3,<4
include_package_data = True
tests_require =
mock==4.0.3
pytest==7.1.2
pytest-asyncio==0.18.3

Expand All @@ -57,7 +56,6 @@ docs =
sphinx==5.0.1
sphinx_rtd_theme==1.0.0
test =
mock==4.0.3
pytest==7.1.2
pytest-asyncio==0.18.3

Expand Down

0 comments on commit fad812a

Please sign in to comment.