Source: python-xvfbwrapper
Version: 0.2.9-5
Severity: normal
Dear Maintainer,
This project will prefer unittest.mock
from the standard library when available.
Greetings
tchet@quieter:/tmp/python-xvfbwrapper$ grep mock -r -C 2
debian/control: python3-mock,
--
setup.py-try:
setup.py: from unittest import mock # noqa
setup.py-except ImportError:
setup.py: tests_require.append('mock')
--
test_xvfb.py-import unittest
test_xvfb.py-try:
test_xvfb.py: from unittest.mock import patch
test_xvfb.py-except ImportError:
test_xvfb.py: from mock import patch
--
tox.ini-deps=
tox.ini: py27,pypy: mock
tchet@quieter:/tmp/python-xvfbwrapper$