Skip to content

Commit

Permalink
Merge pull request #153 from sbraz/mock
Browse files Browse the repository at this point in the history
Remove references to mock backport since mamba only supports Python 3
  • Loading branch information
nestorsalceda authored Nov 16, 2020
2 parents b3de06f + 44e31c2 commit 49e3c90
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
1 change: 0 additions & 1 deletion Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 = "."}
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
5 changes: 1 addition & 4 deletions spec/mock_patch_example_spec.py
Original file line number Diff line number Diff line change
@@ -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

Expand Down

0 comments on commit 49e3c90

Please # to comment.