Dulwich.io dulwich / bcd6ac2
Remove dependency on the external module mock. Fixes #820 Matěj Cepl authored a month ago Jelmer Vernooij committed a month ago
4 changed file(s) with 6 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
44
55 * Add ``no_verify`` flag to ``porcelain.commit`` and ``Repo.do_commit``.
66 (Peter Rowlands)
7
8 * Remove dependency on external mock module.
9 (Matěj Cepl, #820)
710
811 0.20.14 2020-11-26
912
5757 missing_libs.append("geventhttpclient")
5858
5959 try:
60 from mock import patch
60 from unittest.mock import patch
6161 except ImportError:
6262 missing_libs.append("mock")
6363
4040 )
4141
4242 try:
43 from mock import patch
43 from unittest.mock import patch
4444 except ImportError:
4545 patch = None # type: ignore
4646
6161
6262 if '__pypy__' not in sys.modules and not sys.platform == 'win32':
6363 tests_require.extend([
64 'gevent', 'geventhttpclient', 'mock', 'setuptools>=17.1'])
64 'gevent', 'geventhttpclient', 'setuptools>=17.1'])
6565
6666
6767 ext_modules = [