mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-19 19:14:55 +00:00
[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:
parent
fd5833c1d8
commit
66718f6d8e
2 changed files with 1 additions and 3 deletions
|
@ -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()
|
||||
|
|
2
tox.ini
2
tox.ini
|
@ -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}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue