diff --git a/Pipfile b/Pipfile index 8689ba6..7cd18e7 100644 --- a/Pipfile +++ b/Pipfile @@ -6,7 +6,6 @@ name = "pypi" [dev-packages] expects = ">=0.8.0" doublex-expects = ">=0.7.0rc2" -mock = ">=2.0.0" sphinx = ">=1.6.5" sphinx-autobuild = ">=0.7.1" e1839a8 = {editable = true,path = "."} diff --git a/setup.py b/setup.py index 5041e5e..ff6fd22 100644 --- a/setup.py +++ b/setup.py @@ -33,7 +33,7 @@ include_package_data=True, zip_safe=False, install_requires=['clint', 'coverage'], - test_require=['expect', 'doublex', 'doublex-expects', 'mock'], + test_require=['expect', 'doublex', 'doublex-expects'], entry_points={ 'console_scripts': [ 'mamba = mamba.cli:main' diff --git a/spec/mock_patch_example_spec.py b/spec/mock_patch_example_spec.py index 5527819..156c143 100644 --- a/spec/mock_patch_example_spec.py +++ b/spec/mock_patch_example_spec.py @@ -1,8 +1,5 @@ from mamba import description, context, it -try: - from unittest.mock import patch -except ImportError: - from mock import patch +from unittest.mock import patch from expects import expect, be