Skip to content

Commit ea0c7c6

Browse files
authored
deps: remove third-party mock library (#124)
`unittest.mock` is present since Python 3.3+, we don't need to depend on the external library for compatibility.
1 parent 1203b0a commit ea0c7c6

File tree

3 files changed

+1
-3
lines changed

3 files changed

+1
-3
lines changed

noxfile.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919

2020
TEST_DEPENDENCIES = [
2121
"flask",
22-
"mock",
2322
"pytest",
2423
"pytest-cov",
2524
"pytest-localserver",

tests/test_google_auth_httplib2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@
1414

1515
import http.client
1616
import io
17+
from unittest import mock
1718

1819
import httplib2
19-
import mock
2020

2121
import google_auth_httplib2
2222
from tests import compliance

tox.ini

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ envlist = lint,py27,py34,py35,py36,pypy,cover
44
[testenv]
55
deps =
66
flask
7-
mock
87
pytest
98
pytest-cov
109
pytest-localserver

0 commit comments

Comments
 (0)