Skip to content

Commit

Permalink
Remove stale mock dependency
Browse files Browse the repository at this point in the history
Since pygraphviz no longer supports Python 2 and entirely relies
on built-in unittest.mock module, the dependency on mock is no longer
necessary.
  • Loading branch information
mgorny committed Aug 6, 2020
1 parent d335e86 commit 7622fee
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion INSTALL.txt
Expand Up @@ -104,7 +104,7 @@ For Red Hat Enterprise Linux 7, the requirements are::

sudo yum groups install -y "Development Tools"
sudo yum install -y python-devel graphviz-devel
sudo python -m pip install nose doctest-ignore-unicode mock
sudo python -m pip install nose doctest-ignore-unicode


GraphViz
Expand Down
1 change: 0 additions & 1 deletion requirements/test.txt
@@ -1,4 +1,3 @@
coveralls==1.3.0
nose==1.3.7
doctest-ignore-unicode==0.1.2
mock==2.0.0
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -87,5 +87,5 @@
include_package_data = True,
test_suite='nose.collector',
python_requires='>=3.6',
tests_require=['nose>=1.3.7', 'doctest-ignore-unicode>=0.1.2', 'mock>=2.0.0'],
tests_require=['nose>=1.3.7', 'doctest-ignore-unicode>=0.1.2'],
)

0 comments on commit 7622fee

Please sign in to comment.