[Docs] Remove chardet mock to fix requests version check

* chardet is an easily installed pure python module so doesn't need mocking.
This commit is contained in:
Calum Lind 2017-06-05 08:09:22 +01:00
parent fd5833c1d8
commit 66718f6d8e
2 changed files with 1 additions and 3 deletions

View File

@ -59,7 +59,7 @@ class Mock(object):
MOCK_MODULES = ['deluge.ui.gtkui.gtkui', 'deluge._libtorrent',
'libtorrent', 'psyco',
'pygtk', 'gtk', 'gobject', 'gtk.gdk', 'pango', 'cairo', 'pangocairo', 'chardet']
'pygtk', 'gtk', 'gobject', 'gtk.gdk', 'pango', 'cairo', 'pangocairo']
for mod_name in MOCK_MODULES:
sys.modules[mod_name] = Mock()

View File

@ -177,8 +177,6 @@ deps =
{[testenv]deps}
sphinx
sphinxcontrib-napoleon
# Pin requests version due to bug: https://github.com/requests/requests/issues/4125
requests==2.15.1
whitelist_externals =
{[testenv]whitelist_externals}