Py3: use unittest.mock instead of mock (#3481)
* Py3: use unittest.mock instead of mock * noqa * oops * just pull in patch() * ignore RuntimeError when stopping patch * ignore RuntimeError from default_session_mock.stop()
This commit is contained in:
parent
9fa7613c4d
commit
3af87963d1
8 changed files with 36 additions and 15 deletions
1
setup.py
1
setup.py
|
|
@ -60,7 +60,6 @@ install_requires += [
|
|||
"configparser<5.0; python_version < '3'",
|
||||
"Jinja2>=2.10.1",
|
||||
"Jinja2<3.0.0; python_version < '3'",
|
||||
"mock",
|
||||
"mock<=3.0.5; python_version < '3'",
|
||||
"more-itertools",
|
||||
"more-itertools==5.0.0; python_version < '3'",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue